메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | float |
public GetModuleCostChangeWhen ( ) : ModifierChangeWhen | ||
리턴 | ModifierChangeWhen |
public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float | ||
defaultMass | float | |
sit | ModifierStagingSituation | |
리턴 | float |
public GetModuleMassChangeWhen ( ) : ModifierChangeWhen | ||
리턴 | ModifierChangeWhen |
public findGroup ( string name ) : |
||
name | string | |
리턴 |
public onGroupUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public onModelUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |