Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
ICfgEditorScript Interface Reference
Inheritance diagram for ICfgEditorScript:
AddBulkheadProfileTags AddBulkheadProfileTags2 ReplaceValue

Public Member Functions

bool CanRun (List< PartCfg > nodes, MassEditParts.ValueComparison op, string key, string value)
 If for some reason the script is not able to run for the given set of nodes, say so here. Don't forget to print out to console the reason why. More...
 
void DrawInspectorGUI ()
 
void OnSelect ()
 Say hello! More...
 
List< PartCfgRunScript (List< PartCfg > nodes, MassEditParts.ValueComparison op, string key, string value)
 Actually perform the operations you want to perform on the given part cfgs. Please mark any modified cfgs as cfg.modified = true. More...
 

Member Function Documentation

bool ICfgEditorScript.CanRun ( List< PartCfg nodes,
MassEditParts.ValueComparison  op,
string  key,
string  value 
)

If for some reason the script is not able to run for the given set of nodes, say so here. Don't forget to print out to console the reason why.

Parameters
nodes
Returns

Implemented in AddBulkheadProfileTags2, ReplaceValue, and AddBulkheadProfileTags.

void ICfgEditorScript.DrawInspectorGUI ( )
void ICfgEditorScript.OnSelect ( )
List<PartCfg> ICfgEditorScript.RunScript ( List< PartCfg nodes,
MassEditParts.ValueComparison  op,
string  key,
string  value 
)

Actually perform the operations you want to perform on the given part cfgs. Please mark any modified cfgs as cfg.modified = true.

Parameters
nodes
Returns

Implemented in ReplaceValue, AddBulkheadProfileTags2, and AddBulkheadProfileTags.


The documentation for this interface was generated from the following file: