C# Class RemoteTech.Modules.ModuleRTAntenna

Inheritance: PartModule, IAntenna, IContractObjectiveModule
Datei anzeigen Open project: RemoteTechnologiesGroup/RemoteTech

Public Properties

Property Type Description
mDeployFxModuleIndices int[]
mTransmitterConfig ConfigNode

Private Properties

Property Type Description
ActionClose void
ActionOpen void
ActionToggle void
AddTransmitter void
AntennaInfoDescriptionFromRangeModel string
EventClose void
EventEditorClose void
EventEditorOpen void
EventOpen void
EventTarget void
EventToggle void
FindFxModules List
FixedUpdate void
GetDynamicPressure double
GetFARModule PartModule
GetShieldedState bool
HandleDynamicPressure void
LoadAnimations void
OnDestroy void
OnPartUndock void
OnVesselModified void
OverrideClose void
OverrideOpen void
OverrideTarget void
RemoveTransmitter void
SetFXModules_Coroutine IEnumerator
UpdateContext void
UpdateControlState State

Public Methods

Method Description
CheckContractObjectiveValidity ( ) : bool

Check that the part implementing this ModuleRTDataTransmitter is actually really an antenna. This check is quite redundant, but it does no harm.

CompareTo ( IAntenna antenna ) : int
GetContractObjectiveType ( ) : string

Return the type of contracts this module can fulfill. In this case "Antenna".

GetInfo ( ) : string
OnConnectionRefresh ( ) : void
OnLoad ( ConfigNode node ) : void
OnSave ( ConfigNode node ) : void
OnStart ( StartState state ) : void
SetState ( bool state ) : void
ToString ( ) : string

Private Methods

Method Description
ActionClose ( KSPActionParam param ) : void
ActionOpen ( KSPActionParam param ) : void
ActionToggle ( KSPActionParam param ) : void
AddTransmitter ( ) : void
AntennaInfoDescriptionFromRangeModel ( ) : string

Displaying the stored "range" of the antenna/dish is confusing to players when rangeModel Root is selected, because that's not actually the 'range'.

EventClose ( ) : void
EventEditorClose ( ) : void
EventEditorOpen ( ) : void
EventOpen ( ) : void
EventTarget ( ) : void
EventToggle ( ) : void
FindFxModules ( int indices, bool showUI ) : List
FixedUpdate ( ) : void
GetDynamicPressure ( ) : double

Gets the ram pressure experienced by the antenna.

GetFARModule ( ) : PartModule

Returns the FAR module managing aerodynamics for this part, if one exists

GetShieldedState ( ) : bool

Determines whether or not the antenna is shielded from aerodynamic forces

HandleDynamicPressure ( ) : void
LoadAnimations ( ) : void
OnDestroy ( ) : void
OnPartUndock ( Part p ) : void
OnVesselModified ( Vessel v ) : void
OverrideClose ( ) : void
OverrideOpen ( ) : void
OverrideTarget ( ) : void
RemoveTransmitter ( ) : void
SetFXModules_Coroutine ( List modules, float tgtValue ) : IEnumerator
UpdateContext ( ) : void
UpdateControlState ( ) : State

Method Details

CheckContractObjectiveValidity() public method

Check that the part implementing this ModuleRTDataTransmitter is actually really an antenna. This check is quite redundant, but it does no harm.
public CheckContractObjectiveValidity ( ) : bool
return bool

CompareTo() public method

public CompareTo ( IAntenna antenna ) : int
antenna IAntenna
return int

GetContractObjectiveType() public method

Return the type of contracts this module can fulfill. In this case "Antenna".
public GetContractObjectiveType ( ) : string
return string

GetInfo() public method

public GetInfo ( ) : string
return string

OnConnectionRefresh() public method

public OnConnectionRefresh ( ) : void
return void

OnLoad() public method

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

OnSave() public method

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

OnStart() public method

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

SetState() public method

public SetState ( bool state ) : void
state bool
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

mDeployFxModuleIndices public_oe property

public int[] mDeployFxModuleIndices
return int[]

mTransmitterConfig public_oe property

public ConfigNode mTransmitterConfig
return ConfigNode