메소드 | 설명 | |
---|---|---|
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float | ||
GetModuleCostChangeWhen ( ) : ModifierChangeWhen | ||
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float | ||
GetModuleMassChangeWhen ( ) : ModifierChangeWhen | ||
OnLoad ( |
||
OnSave ( |
||
OnStart ( StartState state ) : void | ||
Start ( ) : void | ||
addPresetRatios ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void | ||
closeGUI ( ) : void | ||
containerTypeUpdated ( ContainerDefinition container, ContainerModifier newType, bool updateSymmetry = false ) : void | ||
highestVolumeContainer ( string resourceName ) : ContainerDefinition | ||
onFuelTypeUpdated ( BaseField field, object obj ) : void | ||
onVolumeUpdated ( float newVolume ) : void | ||
setContainerPercents ( float percents, float totalVolume ) : void | ||
setFuelPreset ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void | ||
setResourceFillPercent ( ContainerDefinition def, string resourceName, float newPercent, bool updateSymmetry = false ) : void | ||
setResourceRatio ( ContainerDefinition def, string resourceName, int newRatio, bool updateSymmetry = false ) : void | ||
subtractPresetRatios ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void |
메소드 | 설명 | |
---|---|---|
OnGUI ( ) : void | ||
getBaseContainer ( ) : ContainerDefinition | ||
getContainer ( string name ) : ContainerDefinition | ||
loadConfigData ( ) : void | ||
openGUI ( ) : void | ||
openGUIEvent ( ) : void | ||
setSingleFuelType ( string presetName, bool updateSymmetry ) : void | ||
updateContainerVolumes ( ) : void |
Update sub-containers volume data for the current total part volume
|
|
updateFuelSelections ( ) : void |
Update the available GUI fuel type selection values for the current container setup
|
|
updateKISVolume ( ) : void | ||
updateMassAndCost ( ) : void |
Update cached mass and cost values from container calculated data
|
|
updatePartStats ( ) : void |
Update part impact tolerance and max temp stats based on first containers modifier values and part prefab values
|
|
updatePersistentData ( ) : void | ||
updateTankResources ( ) : void |
Update the resources for the part from the resources in the currently configured containers
|
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 addPresetRatios ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void | ||
container | ContainerDefinition | |
preset | ContainerFuelPreset | |
updateSymmetry | bool | |
리턴 | void |
public containerTypeUpdated ( ContainerDefinition container, ContainerModifier newType, bool updateSymmetry = false ) : void | ||
container | ContainerDefinition | |
newType | ContainerModifier | |
updateSymmetry | bool | |
리턴 | void |
public highestVolumeContainer ( string resourceName ) : ContainerDefinition | ||
resourceName | string | |
리턴 | ContainerDefinition |
public onFuelTypeUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public setContainerPercents ( float percents, float totalVolume ) : void | ||
percents | float | |
totalVolume | float | |
리턴 | void |
public setFuelPreset ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void | ||
container | ContainerDefinition | |
preset | ContainerFuelPreset | |
updateSymmetry | bool | |
리턴 | void |
public setResourceFillPercent ( ContainerDefinition def, string resourceName, float newPercent, bool updateSymmetry = false ) : void | ||
def | ContainerDefinition | |
resourceName | string | |
newPercent | float | |
updateSymmetry | bool | |
리턴 | void |
public setResourceRatio ( ContainerDefinition def, string resourceName, int newRatio, bool updateSymmetry = false ) : void | ||
def | ContainerDefinition | |
resourceName | string | |
newRatio | int | |
updateSymmetry | bool | |
리턴 | void |
public subtractPresetRatios ( ContainerDefinition container, ContainerFuelPreset preset, bool updateSymmetry ) : void | ||
container | ContainerDefinition | |
preset | ContainerFuelPreset | |
updateSymmetry | bool | |
리턴 | void |