프로퍼티 | 타입 | 설명 | |
---|---|---|---|
currentMainTankModule | |||
currentMountModule | SSTUTools.SingleModelData | ||
currentNoseModule | SSTUTools.SingleModelData | ||
initialized | bool | ||
mainTankModules | SSTUTools.TankModelData[] | ||
mountModules | SSTUTools.SingleModelData[] | ||
noseModules | SSTUTools.SingleModelData[] |
메소드 | 설명 | |
---|---|---|
GetInfo ( ) : string |
Cleans up the 'default' assignments from the prefab part (put here due to lack of multi-pass loading). Also adds a quick blurb to the right-click menu regarding possible additional part functionality.
|
|
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float |
Return the adjusted cost for the part based on current tank setup
|
|
GetModuleCostChangeWhen ( ) : ModifierChangeWhen | ||
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float | ||
GetModuleMassChangeWhen ( ) : ModifierChangeWhen | ||
OnDestroy ( ) : void |
Overriden/defined in order to remove the on-editor-ship-modified event from the game-event callback queue
|
|
OnLoad ( |
||
OnStart ( StartState state ) : void | ||
Start ( ) : void | ||
mountTypeUpdated ( BaseField field, object obj ) : void | ||
noseTypeUpdated ( BaseField field, object obj ) : void | ||
onEditorVesselModified ( ShipConstruct ship ) : void |
Event callback for when vessel is modified in the editor. Used to know when the gui-fields for this module have been updated.
|
|
onMountTextureUpdated ( BaseField field, object obj ) : void | ||
onNoseTextureUpdated ( BaseField field, object obj ) : void | ||
onTankTextureUpdated ( BaseField field, object obj ) : void | ||
tankDiameterUpdated ( BaseField field, object obj ) : void | ||
tankHeightScaleUpdated ( BaseField field, object obj ) : void | ||
tankSetUpdated ( BaseField field, object obj ) : void | ||
tankTypeUpdated ( BaseField field, object obj ) : void |
메소드 | 설명 | |
---|---|---|
getMountRootTransform ( bool recreate ) : |
||
getNoseRootTransform ( bool recreate ) : |
||
getTankRootTransform ( bool recreate ) : |
||
initialize ( ) : void | ||
setMainTankModuleFromEditor ( String newMainTank, bool updateSymmetry ) : void | ||
setMountModuleFromEditor ( String newMountType, bool updateSymmetry ) : void | ||
setNoseModuleFromEditor ( String newNoseType, bool updateSymmetry ) : void | ||
setTankSetFromEditor ( String newTankSet, bool updateSymmetry ) : void | ||
updateAttachNodes ( bool userInput ) : void |
메소드 | 설명 | |
---|---|---|
loadConfigData ( ) : void |
Restores ModelData instances from config node data, and populates the 'currentModule' instances with the currently enabled modules.
|
|
restoreEditorFields ( ) : void |
Restores the editor-only diameter and height-adjustment values;
|
|
restoreModels ( ) : void |
Loads or builds the models for the currently selected modules.
|
|
selectMountEvent ( ) : void | ||
selectNoseEvent ( ) : void | ||
setMountTextureFromEditor ( String newSet, bool updateSymmetry ) : void | ||
setNoseTextureFromEditor ( String newSet, bool updateSymmetry ) : void | ||
setTankDiameterFromEditor ( float newDiameter, bool updateSymmetry ) : void | ||
setTankScaleFromEditor ( float editorScaleValue, bool updateSymmetry ) : void | ||
setTankTextureFromEditor ( String newSet, bool updateSymmetry ) : void | ||
updateAvailableVariants ( ) : void | ||
updateContainerVolume ( ) : void | ||
updateEditorStats ( bool userInput ) : void | ||
updateGuiState ( ) : void | ||
updateModels ( ) : void | ||
updateModuleStats ( ) : void |
Updates the internal cached values for the modules based on the current tank settings for scale/volume/position; done separately from updating the actual models so that the values can be used without the models even being present
|
|
updateTankStats ( ) : void | ||
updateTextureSet ( bool updateSymmetry ) : void | ||
updateUIScaleControls ( ) : void |
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 |
protected getMountRootTransform ( bool recreate ) : |
||
recreate | bool | |
리턴 |
protected getNoseRootTransform ( bool recreate ) : |
||
recreate | bool | |
리턴 |
protected getTankRootTransform ( bool recreate ) : |
||
recreate | bool | |
리턴 |
public mountTypeUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public noseTypeUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public onEditorVesselModified ( ShipConstruct ship ) : void | ||
ship | ShipConstruct | |
리턴 | void |
public onMountTextureUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public onNoseTextureUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public onTankTextureUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
protected setMainTankModuleFromEditor ( String newMainTank, bool updateSymmetry ) : void | ||
newMainTank | String | |
updateSymmetry | bool | |
리턴 | void |
protected setMountModuleFromEditor ( String newMountType, bool updateSymmetry ) : void | ||
newMountType | String | |
updateSymmetry | bool | |
리턴 | void |
protected setNoseModuleFromEditor ( String newNoseType, bool updateSymmetry ) : void | ||
newNoseType | String | |
updateSymmetry | bool | |
리턴 | void |
protected setTankSetFromEditor ( String newTankSet, bool updateSymmetry ) : void | ||
newTankSet | String | |
updateSymmetry | bool | |
리턴 | void |
public tankDiameterUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public tankHeightScaleUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public tankSetUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
public tankTypeUpdated ( BaseField field, object obj ) : void | ||
field | BaseField | |
obj | object | |
리턴 | void |
protected updateAttachNodes ( bool userInput ) : void | ||
userInput | bool | |
리턴 | void |
protected TankModelData,SSTUTools currentMainTankModule | ||
리턴 |
protected SingleModelData,SSTUTools currentMountModule | ||
리턴 | SSTUTools.SingleModelData |
protected SingleModelData,SSTUTools currentNoseModule | ||
리턴 | SSTUTools.SingleModelData |
protected TankModelData[],SSTUTools mainTankModules | ||
리턴 | SSTUTools.TankModelData[] |
protected SingleModelData[],SSTUTools mountModules | ||
리턴 | SSTUTools.SingleModelData[] |