PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
GPSReceiver Class Reference

Private Member Functions

void GPSReceiver ()
 
protected void PositionalUpdate ()
 
override void OnMovedInsideCargo (EntityAI container)
 need to be overriden, otherwise the item will be turned off when moved to cargo
 
override void SetActions ()
 
override bool IsTurnedOn ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
protected void UpdateDisplayState (bool pIsTurnedOn)
 
protected void UpdateDisplayPosition ()
 
protected void UpdateDisplayElevation ()
 
protected int GetHiddenSelection (string selection)
 
override void OnDebugSpawn ()
 

Private Attributes

const string DISPLAY_TEXTURE_PATH_FORMAT = "dz\\gear\\navigation\\data\\GPS_%1_ca.paa"
 
const string ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
 
protected ref set< stringm_DisplayGridSelections
 
protected ref set< stringm_DisplayAltSelections
 
protected ref map< int, stringm_DisplayNumericSignTextureMap
 
protected ref array< intm_OrderedPositionNumbersLast
 cache
 
protected ref array< intm_AltitudeNumbersLast
 

Constructor & Destructor Documentation

◆ GPSReceiver()

Member Function Documentation

◆ GetHiddenSelection()

protected int GetHiddenSelection ( string  selection)
inlineprivate

◆ IsTurnedOn()

override bool IsTurnedOn ( )
inlineprivate

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprivate

◆ OnMovedInsideCargo()

override void OnMovedInsideCargo ( EntityAI  container)
private

need to be overriden, otherwise the item will be turned off when moved to cargo

◆ OnWork()

override void OnWork ( float  consumed_energy)
inlineprivate

References PositionalUpdate().

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprivate

References UpdateDisplayState().

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprivate

References UpdateDisplayState().

◆ PositionalUpdate()

protected void PositionalUpdate ( )
inlineprivate

◆ SetActions()

override void SetActions ( )
inlineprivate

References AddAction().

◆ UpdateDisplayElevation()

protected void UpdateDisplayElevation ( )
inlineprivate

◆ UpdateDisplayPosition()

◆ UpdateDisplayState()

protected void UpdateDisplayState ( bool  pIsTurnedOn)
inlineprivate

References ANIM_PHASE_DISPLAY_HIDE.

Referenced by OnWorkStart(), and OnWorkStop().

Field Documentation

◆ ANIM_PHASE_DISPLAY_HIDE

const string ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
private

Referenced by UpdateDisplayState().

◆ DISPLAY_TEXTURE_PATH_FORMAT

const string DISPLAY_TEXTURE_PATH_FORMAT = "dz\\gear\\navigation\\data\\GPS_%1_ca.paa"
private

Referenced by GPSReceiver().

◆ m_AltitudeNumbersLast

protected ref array<int> m_AltitudeNumbersLast
private

◆ m_DisplayAltSelections

protected ref set<string> m_DisplayAltSelections
private

◆ m_DisplayGridSelections

protected ref set<string> m_DisplayGridSelections
private

◆ m_DisplayNumericSignTextureMap

protected ref map<int, string> m_DisplayNumericSignTextureMap
private

◆ m_OrderedPositionNumbersLast

protected ref array<int> m_OrderedPositionNumbersLast
private

cache

Referenced by GPSReceiver(), and UpdateDisplayPosition().


The documentation for this class was generated from the following file: