C# Class SSTUTools.SSTUWeldingDockingPort

Inheritance: PartModule, IPartMassModifier, IPartCostModifier
Afficher le fichier Open project: shadowmage45/SSTULabs Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
defaultCost float
sit ModifierStagingSituation
Résultat float

GetModuleCostChangeWhen() public méthode

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

GetModuleMass() public méthode

public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
defaultMass float
sit ModifierStagingSituation
Résultat float

GetModuleMassChangeWhen() public méthode

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnLoad() public méthode

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
Résultat void

OnStart() public méthode

public OnStart ( StartState state ) : void
state StartState
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void