C# Class B9PartSwitch.ModuleB9PartSwitch

Inheritance: CFGUtilPartModule, IPartMassModifier, IPartCostModifier, IModuleInfo
Datei anzeigen Open project: blowfishpro/B9PartSwitch Class Usage Examples

Public Methods

Method Description
GetDrawModulePanelCallback ( ) : Callback
GetInfo ( ) : string
GetModuleCost ( float baseCost, ModifierStagingSituation situation ) : float
GetModuleCostChangeWhen ( ) : ModifierChangeWhen
GetModuleMass ( float baseMass, ModifierStagingSituation situation ) : float
GetModuleMassChangeWhen ( ) : ModifierChangeWhen
GetModuleTitle ( ) : string
GetPrimaryField ( ) : string
IsManagedNode ( AttachNode node ) : bool
IsManagedResource ( string resourceName ) : bool
IsManagedTransform ( Transform transform ) : bool
OnIconCreate ( ) : void
OnLoad ( ConfigNode node ) : void
OnStart ( PartModule state ) : void
PartFieldManaged ( ISubtypePartField field ) : bool
Start ( ) : void
this ( int index ) : PartSubtype

Private Methods

Method Description
FindBestSubtype ( ) : void
FireEvents ( ) : void
InitializeSubtypes ( ) : void
RemoveUnusedResources ( ) : void
RenderProceduralDragCubes ( ) : void
SetupForIcon ( ) : void
SetupGUI ( ) : void
SetupSubtypes ( ) : void
UpdateDragCubesOnAttach ( ) : void
UpdateFromGUI ( BaseField field, object oldFieldValueObj ) : void
UpdateFromSymmetry ( int newIndex ) : void
UpdateGeometry ( ) : void
UpdateOnStart ( ) : void
UpdatePartActionWindow ( ) : void

Method Details

GetDrawModulePanelCallback() public method

public GetDrawModulePanelCallback ( ) : Callback
return Callback

GetInfo() public method

public GetInfo ( ) : string
return string

GetModuleCost() public method

public GetModuleCost ( float baseCost, ModifierStagingSituation situation ) : float
baseCost float
situation ModifierStagingSituation
return float

GetModuleCostChangeWhen() public method

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

GetModuleMass() public method

public GetModuleMass ( float baseMass, ModifierStagingSituation situation ) : float
baseMass float
situation ModifierStagingSituation
return float

GetModuleMassChangeWhen() public method

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

GetModuleTitle() public method

public GetModuleTitle ( ) : string
return string

GetPrimaryField() public method

public GetPrimaryField ( ) : string
return string

IsManagedNode() public method

public IsManagedNode ( AttachNode node ) : bool
node AttachNode
return bool

IsManagedResource() public method

public IsManagedResource ( string resourceName ) : bool
resourceName string
return bool

IsManagedTransform() public method

public IsManagedTransform ( Transform transform ) : bool
transform UnityEngine.Transform
return bool

OnIconCreate() public method

public OnIconCreate ( ) : void
return void

OnLoad() public method

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

OnStart() public method

public OnStart ( PartModule state ) : void
state PartModule
return void

PartFieldManaged() public method

public PartFieldManaged ( ISubtypePartField field ) : bool
field ISubtypePartField
return bool

Start() public method

public Start ( ) : void
return void

this() public method

public this ( int index ) : PartSubtype
index int
return PartSubtype