Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
displaystatus.c File Reference

Go to the source code of this file.

Enumerations

enum  DSLevels { WARNING = 1, CRITICAL = 2, BLINKING = 3, EXTRA = 4 }
 

Functions

void VirtualHud (PlayerBase player)
 
void OnScheduledTick ()
 
void RegisterElement (DisplayElementBase element)
 
DisplayElementBase GetElement (eDisplayElements element_id)
 
void SerializeElements (ref array< int > mask_array)
 
void DeserializeElements (ref array< int > mask_array)
 
int BitToDec (int mask, int index, int compareMask)
 
void PrintElements ()
 
void SendRPC ()
 
bool AreArraysSame (notnull array< int > array_a, notnull array< int > array_b)
 
void ImmediateUpdate ()
 
void UpdateStatus ()
 
void OnRPC (ParamsReadContext ctx)
 
void Debug ()
 

Variables

enum DSLevels NORMAL = 0
 
enum DSLevels WARNING_MINUS = 1
 
enum DSLevels CRITICAL_MINUS = 2
 
enum DSLevels BLINKING_MINUS = 3
 
enum DSLevels WARNING_PLUS = 4
 
enum DSLevels CRITICAL_PLUS = 5
 
enum DSLevels BLINKING_PLUS = 6
 
enum DSLevels NUMBER_OF_MASKS = 2
 
ref array< intm_LastSentArray
 
const int NUMBER_OF_ELEMENTS = eDisplayElements.COUNT
 
ref DisplayElementBase m_Elements [NUMBER_OF_ELEMENTS]
 
Mission mission
 
Hud m_Hud
 
int m_LastTick
 
PlayerBase m_Player
 
string m_System = "VirtualHud"
 
ref array< ref ParamrpcParams
 

Enumeration Type Documentation

◆ DSLevels

enum DSLevels
Enumerator
WARNING 
CRITICAL 
BLINKING 
EXTRA 

Definition at line 1 of file displaystatus.c.

Function Documentation

◆ AreArraysSame()

bool AreArraysSame ( notnull array< int array_a,
notnull array< int array_b 
)

Definition at line 180 of file displaystatus.c.

◆ BitToDec()

int BitToDec ( int  mask,
int  index,
int  compareMask 
)

Definition at line 151 of file displaystatus.c.

◆ Debug()

void Debug ( )

Definition at line 225 of file displaystatus.c.

◆ DeserializeElements()

void DeserializeElements ( ref array< int mask_array)

Definition at line 127 of file displaystatus.c.

◆ GetElement()

DisplayElementBase GetElement ( eDisplayElements  element_id)

Definition at line 95 of file displaystatus.c.

◆ ImmediateUpdate()

void ImmediateUpdate ( )

Definition at line 193 of file displaystatus.c.

◆ OnRPC()

void OnRPC ( ParamsReadContext  ctx)

Definition at line 216 of file displaystatus.c.

◆ OnScheduledTick()

void OnScheduledTick ( )

Definition at line 71 of file displaystatus.c.

◆ PrintElements()

void PrintElements ( )

Definition at line 159 of file displaystatus.c.

◆ RegisterElement()

void RegisterElement ( DisplayElementBase  element)

Definition at line 88 of file displaystatus.c.

◆ SendRPC()

void SendRPC ( )

Definition at line 167 of file displaystatus.c.

◆ SerializeElements()

void SerializeElements ( ref array< int mask_array)

Definition at line 105 of file displaystatus.c.

◆ UpdateStatus()

void UpdateStatus ( )

Definition at line 203 of file displaystatus.c.

◆ VirtualHud()

void VirtualHud ( PlayerBase  player)

Definition at line 36 of file displaystatus.c.

Variable Documentation

◆ BLINKING_MINUS

enum DSLevels BLINKING_MINUS = 3

◆ BLINKING_PLUS

enum DSLevels BLINKING_PLUS = 6

◆ CRITICAL_MINUS

enum DSLevels CRITICAL_MINUS = 2

◆ CRITICAL_PLUS

enum DSLevels CRITICAL_PLUS = 5

◆ m_Elements

Definition at line 27 of file displaystatus.c.

◆ m_Hud

Hud m_Hud

Definition at line 29 of file displaystatus.c.

◆ m_LastSentArray

ref array<int> m_LastSentArray

Definition at line 24 of file displaystatus.c.

◆ m_LastTick

int m_LastTick

Definition at line 30 of file displaystatus.c.

◆ m_Player

PlayerBase m_Player

Definition at line 31 of file displaystatus.c.

◆ m_System

string m_System = "VirtualHud"

Definition at line 32 of file displaystatus.c.

◆ mission

Mission mission

Definition at line 28 of file displaystatus.c.

◆ NORMAL

@ NORMAL = 0

Definition at line 3 of file displaystatus.c.

◆ NUMBER_OF_ELEMENTS

const int NUMBER_OF_ELEMENTS = eDisplayElements.COUNT

Definition at line 26 of file displaystatus.c.

◆ NUMBER_OF_MASKS

enum DSLevels NUMBER_OF_MASKS = 2

◆ rpcParams

ref array<ref Param> rpcParams

Definition at line 34 of file displaystatus.c.

◆ WARNING_MINUS

enum DSLevels WARNING_MINUS = 1

◆ WARNING_PLUS

enum DSLevels WARNING_PLUS = 4