Kerbal Space Program
1.12.4
|
Public Member Functions | |
override void | OnUpgrade (ConfigNode node, LoadContext loadContext, ConfigNode parentNode) |
The OnUpgrade method that is called when a node has tested successfully and will be actioned More... | |
Public Member Functions inherited from SaveUpgradePipeline.PartReplace | |
override TestResult | OnTest (ConfigNode node, LoadContext loadContext, ref string nodeName) |
Public Member Functions inherited from SaveUpgradePipeline.UpgradeScript | |
bool | AppliesInContext (LoadContext ctx) |
void | Init (LoadContext contextMask, string nodeUrlCraft, string nodeUrlSFS) |
virtual TestResult | Test (ConfigNode n, LoadContext loadContext) |
override string | ToString () |
virtual void | Upgrade (ConfigNode n, LoadContext loadContext) |
Protected Member Functions | |
override void | Setup (out string pName, out string replacementPartName, out string refTransformName, out Vector3 posOffset, out Quaternion rotOffset, out Vector3 childPosOffset, out Vector3 att0Offset, out List< attachNodeOffset > attNOffsets) |
Protected Member Functions inherited from SaveUpgradePipeline.PartReplace | |
override void | OnInit () |
override void | Setup (out string pName, out Vector3 posOffset, out Quaternion rotOffset) |
Protected Member Functions inherited from SaveUpgradePipeline.UpgradeScript | |
virtual bool | CheckMaxVersion (Version v) |
virtual bool | CheckMinVersion (Version v) |
virtual Version | GetCfgNodeVersion (ConfigNode n, LoadContext loadContext) |
string | GetNodeURL (LoadContext loadContext) |
void | LogTestResults (string nodeName, TestResult test) |
void | RecurseNodes (ConfigNode node, string[] urlNodes, int level, Callback< ConfigNode, ConfigNode > cb, ConfigNode parent=null) |
virtual TestResult | VersionTest (Version v) |
Properties | |
override string | Description [get] |
override Version | EarliestCompatibleVersion [get] |
override string | Name [get] |
override Version | TargetVersion [get] |
Properties inherited from SaveUpgradePipeline.UpgradeScript | |
abstract string | Description [get] |
abstract Version | EarliestCompatibleVersion [get] |
abstract string | Name [get] |
abstract Version | TargetVersion [get] |
Additional Inherited Members | |
Public Attributes inherited from SaveUpgradePipeline.UpgradeScript | |
LoadContext | ContextMask |
Protected Attributes inherited from SaveUpgradePipeline.PartReplace | |
Vector3 | attach0Offset |
the position offset in part local space of the att0 node More... | |
List< attachNodeOffset > | attachNodeOffsets |
the position offset in part local space for the specific nodes More... | |
Vector3 | childPositionOffset |
the position offset for all child parts in part local space More... | |
string | referenceTransformName |
the name of the new parts reference transform More... | |
string | replacementPartName |
the name of the part that replaces the current one More... | |
Protected Attributes inherited from SaveUpgradePipeline.PartOffset | |
string | partName |
Vector3 | position |
Final Part Position - including rotation More... | |
Vector3 | position0 |
Original Part Position More... | |
Vector3 | positionOffset |
the position offset in part local space More... | |
Quaternion | rotation |
Final Part Rotation More... | |
Quaternion | rotation0 = Quaternion.identity |
Original Part Rotation More... | |
Quaternion | rotationOffset |
the rotation offset, in part local space More... | |
Protected Attributes inherited from SaveUpgradePipeline.UpgradeScript | |
string | nodeUrlCraft |
string | nodeUrlSFS |
|
inlinevirtual |
The OnUpgrade method that is called when a node has tested successfully and will be actioned
node | The node to be actioned |
loadContext | What load context is the node being accessed in |
parentNode | The parent of this node from the recurse process - typically used to get the vessel from a part |
Reimplemented from SaveUpgradePipeline.PartReplace.
|
inlineprotectedvirtual |
Implements SaveUpgradePipeline.PartReplace.
|
get |
|
get |
|
get |
|
get |