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
ReplaceValue Class Reference
Inheritance diagram for ReplaceValue:
ICfgEditorScript

Public Member Functions

bool CanRun (List< PartCfg > nodes, MassEditParts.ValueComparison comp, 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 comp, 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 ReplaceValue.CanRun ( List< PartCfg nodes,
MassEditParts.ValueComparison  op,
string  key,
string  value 
)
inline

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

Implements ICfgEditorScript.

void ReplaceValue.DrawInspectorGUI ( )
inline

Implements ICfgEditorScript.

void ReplaceValue.OnSelect ( )
inline

Say hello!

Implements ICfgEditorScript.

List<PartCfg> ReplaceValue.RunScript ( List< PartCfg nodes,
MassEditParts.ValueComparison  op,
string  key,
string  value 
)
inline

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

Implements ICfgEditorScript.


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