DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
DisplayElement Class Reference

#include <DisplayElement.h>

Inheritance diagram for DisplayElement:
MessageReceiverBase BadgeFracture BadgePoisoned BadgeSick BadgeStuffed BadgeWet ElementStamina InvBadgeBlood InvBadgeFever InvBadgeFracture InvBadgeFullness InvBadgeHunger InvBadgeSick InvBadgeThirst InvBadgeWetness TendencyBlood TendencyHealth TendencyHunger TendencyTemperature TendencyThirst

Private Member Functions

void  DisplayElement ()
 
void  UpdateStatus ()
 
int  GetOffset ()
 
int  GetCompareMask ()
 
void  AddToMask (Param2< int, int > param)
 
int  GetType ()
 
int  BitToDec (int mask, int index, int length)
 
void  ReadFromMask (Param2< int, int > param)
 
void  SetMaxValue ()
 
void  SetBar (int value, int range)
 

Private Attributes

bool  m_Blinking
 
int  m_Value
 
int  m_Type = 0
 
int  m_Range = 0
 
int  m_Colors [7]
 
string  m_Labels [7]
 
int  m_Key = 0
 
int  m_Pos = 1
 
ModulePlayerStatus  m_ModulePlayerStatus
 

Constructor & Destructor Documentation

void DisplayElement::DisplayElement ( )
private

Member Function Documentation

void DisplayElement::UpdateStatus ( )
private
int DisplayElement::GetOffset ( )
private
int DisplayElement::GetCompareMask ( )
private

References m_Type, TYPE_BADGE, TYPE_BAR, TYPE_NTFR, and TYPE_TDCY.

Referenced by BitToDec().

void DisplayElement::AddToMask ( Param2< int, int >  param )
private

References GetOffset(), and m_Value.

int DisplayElement::GetType ( )
private

References m_Type.

int DisplayElement::BitToDec ( int  mask,
int  index,
int  length 
)
private

References GetCompareMask().

Referenced by ReadFromMask().

void DisplayElement::ReadFromMask ( Param2< int, int >  param )
private

References BitToDec(), GetOffset(), and m_Value.

void DisplayElement::SetMaxValue ( )
private
void DisplayElement::SetBar ( int  value,
int  range 
)
private

References m_Range, m_Type, m_Value, and TYPE_BAR.

Member Data Documentation

bool DisplayElement::m_Blinking
private
int DisplayElement::m_Value
private
int DisplayElement::m_Type = 0
private
int DisplayElement::m_Range = 0
private
int DisplayElement::m_Colors[7]
private
string DisplayElement::m_Labels[7]
private
int DisplayElement::m_Key = 0
private
int DisplayElement::m_Pos = 1
private
ModulePlayerStatus DisplayElement::m_ModulePlayerStatus
private

Referenced by DisplayElement(), and UpdateStatus().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)