|
override void | OnInit () |
|
abstract 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) |
|
override void | Setup (out string pName, out Vector3 posOffset, out Quaternion rotOffset) |
|
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) |
|
override void SaveUpgradePipeline.PartReplace.OnInit |
( |
| ) |
|
|
inlineprotectedvirtual |
The OnUpgrade method that is called when a node has tested successfully and will be actioned
- Parameters
-
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.PartOffset.
Reimplemented in SaveUpgradePipeline.v1120_ServiceBay_125, SaveUpgradePipeline.v1120_ServiceBay_250, SaveUpgradePipeline.v1120_stackTriCoupler, SaveUpgradePipeline.v1120_stackBiCoupler, SaveUpgradePipeline.v1120_engineLargeSkipper, SaveUpgradePipeline.v1120_liquidEngine1_2, SaveUpgradePipeline.v1120_liquidEngine2_2, SaveUpgradePipeline.v1120_liquidEngine3, SaveUpgradePipeline.v1120_liquidEngineMini, SaveUpgradePipeline.v1120_microEngine, SaveUpgradePipeline.v1120_mk1pod, SaveUpgradePipeline.v1120_probeCoreOcto, SaveUpgradePipeline.v1120_probeCoreOcto2, SaveUpgradePipeline.v1120_Size3to2Adapter, SaveUpgradePipeline.v1120_solidBooster, SaveUpgradePipeline.v1120_solidBooster_sm, SaveUpgradePipeline.v170_stackDecoupler, SaveUpgradePipeline.v170_stackDecoupler1_2, SaveUpgradePipeline.v170_stackDecouplerMini, SaveUpgradePipeline.v170_stackDecouplerSize3, SaveUpgradePipeline.v170_stackSeparator, SaveUpgradePipeline.v170_stackSeparatorMini, SaveUpgradePipeline.v170_toroidalFuelTank, SaveUpgradePipeline.probeCoreSphere, SaveUpgradePipeline.v1120_rocketNoseCone, SaveUpgradePipeline.v1120_radialEngineMini, SaveUpgradePipeline.v1120_RCSBlock, SaveUpgradePipeline.v170_fuelTank1_2, SaveUpgradePipeline.v170_fuelTank2_2, SaveUpgradePipeline.v170_fuelTank3_2, SaveUpgradePipeline.v170_fuelTank4_2, SaveUpgradePipeline.v170_mk1_2, and SaveUpgradePipeline.v170_stackSeparatorBig.
abstract void SaveUpgradePipeline.PartReplace.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 |
|
) |
| |
|
protectedpure virtual |
Implemented in SaveUpgradePipeline.v1120_engineLargeSkipper, SaveUpgradePipeline.v1120_liquidEngine1_2, SaveUpgradePipeline.v1120_liquidEngine2_2, SaveUpgradePipeline.v1120_liquidEngine3, SaveUpgradePipeline.v1120_liquidEngineMini, SaveUpgradePipeline.v1120_microEngine, SaveUpgradePipeline.v1120_mk1pod, SaveUpgradePipeline.v1120_probeCoreOcto, SaveUpgradePipeline.v1120_probeCoreOcto2, SaveUpgradePipeline.probeCoreSphere, SaveUpgradePipeline.v1120_radialEngineMini, SaveUpgradePipeline.v1120_RCSBlock, SaveUpgradePipeline.v1120_rocketNoseCone, SaveUpgradePipeline.v1120_ServiceBay_125, SaveUpgradePipeline.v1120_ServiceBay_250, SaveUpgradePipeline.v1120_Size3to2Adapter, SaveUpgradePipeline.v1120_solidBooster, SaveUpgradePipeline.v1120_solidBooster_sm, SaveUpgradePipeline.v1120_stackBiCoupler, SaveUpgradePipeline.v1120_stackTriCoupler, SaveUpgradePipeline.v170_fuelTank1_2, SaveUpgradePipeline.v170_fuelTank2_2, SaveUpgradePipeline.v170_fuelTank3_2, SaveUpgradePipeline.v170_fuelTank4_2, SaveUpgradePipeline.v170_mk1_2, SaveUpgradePipeline.v170_stackDecoupler, SaveUpgradePipeline.v170_stackDecoupler1_2, SaveUpgradePipeline.v170_stackDecouplerMini, SaveUpgradePipeline.v170_stackDecouplerSize3, SaveUpgradePipeline.v170_stackSeparator, SaveUpgradePipeline.v170_stackSeparatorBig, SaveUpgradePipeline.v170_stackSeparatorMini, and SaveUpgradePipeline.v170_toroidalFuelTank.
override void SaveUpgradePipeline.PartReplace.Setup |
( |
out string |
pName, |
|
|
out Vector3 |
posOffset, |
|
|
out Quaternion |
rotOffset |
|
) |
| |
|
inlineprotectedvirtual |
Vector3 SaveUpgradePipeline.PartReplace.attach0Offset |
|
protected |
the position offset in part local space of the att0 node
the position offset in part local space for the specific nodes
Vector3 SaveUpgradePipeline.PartReplace.childPositionOffset |
|
protected |
the position offset for all child parts in part local space
Note: this is relative to the part being affected, dont include the partOffset value as well
string SaveUpgradePipeline.PartReplace.referenceTransformName |
|
protected |
the name of the new parts reference transform
string SaveUpgradePipeline.PartReplace.replacementPartName |
|
protected |
the name of the part that replaces the current one
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Util Scripts/UpgradePipeline/Scripts/PartReplace.cs