C# Class SSTUTools.SSTUWeldingDockingPort

Inheritance: PartModule, IPartMassModifier, IPartCostModifier
Mostra file Open project: shadowmage45/SSTULabs Class Usage Examples

Public Methods

Method Description
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
GetModuleCostChangeWhen ( ) : ModifierChangeWhen
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
GetModuleMassChangeWhen ( ) : ModifierChangeWhen
OnDestroy ( ) : void
OnLoad ( ConfigNode node ) : void
OnStart ( StartState state ) : void
Start ( ) : void

Private Methods

Method Description
decoupleFromBase ( ) : void
doWeld ( Part otherPort, SSTUWeldingDockingPort otherPortModule, Part otherWeld ) : void
getBasePart ( ) : Part
getDockPart ( ) : Part
initialize ( ) : void
onAnimStateChanged ( AnimState newState ) : void
onDiameterChanged ( BaseField field, System obj ) : void
onDock ( Part>.GameEvents dockEvent ) : void
onSnapChanged ( BaseField field, System obj ) : void
onSnapToggled ( BaseField field, System obj ) : void
selfDestruct ( ) : void
setDiameterFromEditor ( float newDiameter, bool updateSymmetry ) : void
setupPartAttachNodes ( Part thisWeld, Part otherWeld, AttachNode thisNode, AttachNode otherNode ) : void
updateDragCubes ( ) : void
updateGUI ( ) : void
updateModelScale ( ) : void
updatePartCost ( ) : void
updatePartMass ( ) : void
weldEvent ( ) : void

Method Details

GetModuleCost() public method

public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
defaultCost float
sit ModifierStagingSituation
return float

GetModuleCostChangeWhen() public method

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

GetModuleMass() public method

public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
defaultMass float
sit ModifierStagingSituation
return float

GetModuleMassChangeWhen() public method

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnLoad() public method

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
return void

OnStart() public method

public OnStart ( StartState state ) : void
state StartState
return void

Start() public method

public Start ( ) : void
return void