DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
GPSReceiver Class Reference

Private Member Functions

void GPSReceiver ()
 
protected void PositionalUpdate ()
 
override void SetActions ()
 
override bool IsTurnedOn ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
protected void UpdateDisplayState (int animPhase)
 
protected void UpdateDisplayPosition ()
 
protected void UpdateDisplayElevation ()
 
protected int GetHiddenSelection (string selection)
 
override void OnDebugSpawn ()
 
protected void UpdateDisplayState (bool pIsTurnedOn)
 

Private Attributes

protected const string DISPLAY_TEXTURE_PATH_FORMAT = "dz\\gear\\navigation\\data\\GPS_%1_ca.paa"
 
protected const string ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
 
protected const int PHASE_OFF = 1
 
protected const int PHASE_ON = 0
 
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
 
protected bool m_InitGPS
 

Constructor & Destructor Documentation

◆ GPSReceiver()

Member Function Documentation

◆ GetHiddenSelection()

protected int GetHiddenSelection ( string  selection)
inlineprivate

◆ IsTurnedOn()

override bool IsTurnedOn ( )
inlineprivate

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprivate

◆ OnWork()

override void OnWork ( float  consumed_energy)
inlineprivate

References PositionalUpdate().

◆ OnWorkStart()

override void OnWorkStart ( )
inlineprivate

References PHASE_ON, and UpdateDisplayState().

◆ OnWorkStop()

override void OnWorkStop ( )
inlineprivate

References PHASE_OFF, and UpdateDisplayState().

◆ PositionalUpdate()

protected void PositionalUpdate ( )
inlineprivate

◆ SetActions()

override void SetActions ( )
inlineprivate

References AddAction().

◆ UpdateDisplayElevation()

◆ UpdateDisplayPosition()

◆ UpdateDisplayState() [1/2]

protected void UpdateDisplayState ( bool  pIsTurnedOn)
inlineprivate

◆ UpdateDisplayState() [2/2]

protected void UpdateDisplayState ( int  animPhase)
inlineprivate

Field Documentation

◆ ANIM_PHASE_DISPLAY_HIDE

protected const string ANIM_PHASE_DISPLAY_HIDE = "DisplayState"
private

Referenced by UpdateDisplayState().

◆ DISPLAY_TEXTURE_PATH_FORMAT

protected 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_InitGPS

protected bool m_InitGPS
private

◆ m_OrderedPositionNumbersLast

protected ref array<int> m_OrderedPositionNumbersLast
private

cache

Referenced by GPSReceiver(), and UpdateDisplayPosition().

◆ PHASE_OFF

protected const int PHASE_OFF = 1
private

◆ PHASE_ON

protected const int PHASE_ON = 0
private

Referenced by OnWorkStart(), and UpdateDisplayState().


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