C# Class SSTUTools.WIPModule.SSTUModularCargoBay

Inheritance: SSTUModularFuelTank
显示文件 Open project: shadowmage45/SSTULabs Class Usage Examples

Public Methods

Method Description
GetInfo ( ) : string
OnSave ( ConfigNode node ) : void
Update ( ) : void
onBodyLimitUpdated ( BaseField field, object obj ) : void
onNoseLimitUpdated ( BaseField field, object obj ) : void
onTailLimitUpdated ( BaseField field, object obj ) : void

Protected Methods

Method Description
initialize ( ) : void
setMainTankModuleFromEditor ( string newMainTank, bool updateSymmetry ) : void
setMountModuleFromEditor ( string newMountType, bool updateSymmetry ) : void
setNoseModuleFromEditor ( string newNoseType, bool updateSymmetry ) : void
updateAttachNodes ( bool userInput ) : void

Update 'dorsal' and interior attach node(s) (all others handled by base MFT code)

Private Methods

Method Description
bodyAnimStateChanged ( AnimState state ) : void
getLabelForState ( AnimState state ) : string
handleAnimAction ( KSPActionParam param, AnimationController control ) : void
handleAnimEvent ( AnimationController control ) : void
noseAnimStateChanged ( AnimState state ) : void
tailAnimStateChanged ( AnimState state ) : void
toggleBodyDeployAction ( KSPActionParam param ) : void
toggleBodyDeployEvent ( ) : void
toggleNoseDeployAction ( KSPActionParam param ) : void
toggleNoseDeployEvent ( ) : void
toggleTailDeployAction ( KSPActionParam param ) : void
toggleTailDeployEvent ( ) : void
updateAirstreamShield ( ) : void
updateBodyAnimControl ( ) : void
updateBodyAnimUILabels ( ) : void
updateNoseAnimControl ( ) : void
updateNoseAnimUILabels ( ) : void
updateTailAnimControl ( ) : void
updateTailAnimUILabels ( ) : void

Method Details

GetInfo() public method

public GetInfo ( ) : string
return string

OnSave() public method

public OnSave ( ConfigNode node ) : void
node System.ConfigNode
return void

Update() public method

public Update ( ) : void
return void

initialize() protected method

protected initialize ( ) : void
return void

onBodyLimitUpdated() public method

public onBodyLimitUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
return void

onNoseLimitUpdated() public method

public onNoseLimitUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
return void

onTailLimitUpdated() public method

public onTailLimitUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
return void

setMainTankModuleFromEditor() protected method

protected setMainTankModuleFromEditor ( string newMainTank, bool updateSymmetry ) : void
newMainTank string
updateSymmetry bool
return void

setMountModuleFromEditor() protected method

protected setMountModuleFromEditor ( string newMountType, bool updateSymmetry ) : void
newMountType string
updateSymmetry bool
return void

setNoseModuleFromEditor() protected method

protected setNoseModuleFromEditor ( string newNoseType, bool updateSymmetry ) : void
newNoseType string
updateSymmetry bool
return void

updateAttachNodes() protected method

Update 'dorsal' and interior attach node(s) (all others handled by base MFT code)
protected updateAttachNodes ( bool userInput ) : void
userInput bool
return void