C# Class RemoteTech.Modules.ModuleRTAntenna

Inheritance: PartModule, IAntenna, IContractObjectiveModule
Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech

Méthodes publiques

Свойство Type Description
mDeployFxModuleIndices int[]
mTransmitterConfig ConfigNode

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat bool

CompareTo() public méthode

public CompareTo ( IAntenna antenna ) : int
antenna IAntenna
Résultat int

GetContractObjectiveType() public méthode

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

GetInfo() public méthode

public GetInfo ( ) : string
Résultat string

OnConnectionRefresh() public méthode

public OnConnectionRefresh ( ) : void
Résultat void

OnLoad() public méthode

public OnLoad ( ConfigNode node ) : void
node ConfigNode
Résultat void

OnSave() public méthode

public OnSave ( ConfigNode node ) : void
node ConfigNode
Résultat void

OnStart() public méthode

public OnStart ( StartState state ) : void
state StartState
Résultat void

SetState() public méthode

public SetState ( bool state ) : void
state bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

mDeployFxModuleIndices public_oe property

public int[] mDeployFxModuleIndices
Résultat int[]

mTransmitterConfig public_oe property

public ConfigNode mTransmitterConfig
Résultat ConfigNode