Méthode | Description | |
---|---|---|
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float | ||
GetModuleCostChangeWhen ( ) : ModifierChangeWhen | ||
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float | ||
GetModuleMassChangeWhen ( ) : ModifierChangeWhen | ||
OnLoad ( |
||
OnSave ( |
||
OnStart ( StartState state ) : void | ||
Start ( ) : void | ||
findGroup ( string name ) : |
Locate the modelSwitchGroup for the input name -- UNSAFE - will KNFE for invalid name
|
|
onGroupUpdated ( BaseField field, object obj ) : void | ||
onModelUpdated ( BaseField field, object obj ) : void |
Méthode | Description | |
---|---|---|
calcTotalVolume ( ) : float |
Calculates the total allocated volume for ALL VolumeContianer sub-containers This is calculated as -liters-
|
|
calcVolume ( int containerIndex ) : float |
Calculates the total allocated volume for a specific container index. This is calculated as -liters-
|
|
initialize ( ) : void |
Initialize this module - load config data, restore persistent data, setup gui fields
|
|
updateAttachNodes ( bool userInput ) : void | ||
updateAttachNodesForModel ( |
||
updateContainerVolume ( ) : void |
Updates the associated VolumeContainer with any changes to part volume from this module
|
|
updateDragCube ( ) : void | ||
updateGui ( ) : void |
Update the currently avaialble selection options and enabled/disabled status of the group and model selection widgets
|
|
updateMassAndCost ( ) : void |
Update the cached mass and cost for the -models- that are currently enabled; resources and tankage are handled by VolumeContainer
|
|
updatePersistentData ( ) : void |
Update the persistent data field with the current configuration for this module; this is a set of enabled/disabled flags for each groups models
|
public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float | ||
defaultCost | float | |
sit | ModifierStagingSituation | |
Résultat | float |
public GetModuleCostChangeWhen ( ) : ModifierChangeWhen | ||
Résultat | ModifierChangeWhen |
public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float | ||
defaultMass | float | |
sit | ModifierStagingSituation | |
Résultat | float |
public GetModuleMassChangeWhen ( ) : ModifierChangeWhen | ||
Résultat | ModifierChangeWhen |
public OnLoad ( |
||
node | ||
Résultat | void |
public OnSave ( |
||
node | ||
Résultat | void |
public findGroup ( string name ) : |
||
name | string | |
Résultat |
public onGroupUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
Résultat | void |
public onModelUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
Résultat | void |