C# Class SSTUTools.SSTUModelSwitch2

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

Méthodes publiques

Méthode Description
GetInfo ( ) : string
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
GetModuleCostChangeWhen ( ) : ModifierChangeWhen
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
GetModuleMassChangeWhen ( ) : ModifierChangeWhen
OnLoad ( ConfigNode node ) : void
OnStart ( StartState state ) : void
Start ( ) : void

Private Methods

Méthode Description
enableModel ( string model, bool updateSymmetry = false ) : void
initialize ( ) : void
modelSelected ( BaseField field, object obj ) : void
updateMassAndCost ( ) : void

Method Details

GetInfo() public méthode

public GetInfo ( ) : string
Résultat string

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

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