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

Private Member Functions

void DebugMonitorValues (PlayerBase player)
 
void Init ()
 
void OnScheduledTick (float deltatime)
 
void CheckValues ()
 
float GetBlood ()
 
float GetHealth ()
 
string GetLastDamage ()
 
void SetLastDamage (string value)
 
void CheckHealth ()
 
void CheckBlood ()
 
void CheckLastDamage ()
 
void SendValue (int value_type, Param param)
 
void ReceiveValue (int value_type, Param param)
 
void OnRPCFloat (ParamsReadContext ctx)
 
void OnRPCString (ParamsReadContext ctx)
 

Private Attributes

const int TYPE_HEALTH = 1
 
const int TYPE_BLOOD = 2
 
const int TYPE_BODY_TEMP = 3
 
const int TYPE_POSITION = 4
 
const int TYPE_LAST_DAMAGE = 5
 
const int LAST_DAMAGE_FALL = 1
 
const int LAST_DAMAGE_HIT = 2
 
const float VALUE_CHECK_INTERVAL = 1
 
const float SENSITIVTY_PERCENTAGE = 1
 
PlayerBase m_Player
 
float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1
 
string m_CurrentLastDamage
 
float m_LastHealthUpdate
 
float m_LastBloodUpdate
 
string m_lastDamageUpdate
 
float m_HealthMaxValue
 
float m_BloodMaxValue
 
float m_BloodClient
 
float m_HealthClient
 
string m_LastDamageClient
 

Constructor & Destructor Documentation

◆ DebugMonitorValues()

void DebugMonitorValues ( PlayerBase  player)
inlineprivate

References Init(), and m_Player.

Member Function Documentation

◆ CheckBlood()

void CheckBlood ( )
inlineprivate

◆ CheckHealth()

void CheckHealth ( )
inlineprivate

◆ CheckLastDamage()

void CheckLastDamage ( )
inlineprivate

◆ CheckValues()

void CheckValues ( )
inlineprivate

◆ GetBlood()

float GetBlood ( )
inlineprivate

◆ GetHealth()

float GetHealth ( )
inlineprivate

◆ GetLastDamage()

string GetLastDamage ( )
inlineprivate

◆ Init()

void Init ( )
inlineprivate

◆ OnRPCFloat()

void OnRPCFloat ( ParamsReadContext  ctx)
inlineprivate

◆ OnRPCString()

void OnRPCString ( ParamsReadContext  ctx)
inlineprivate

◆ OnScheduledTick()

void OnScheduledTick ( float  deltatime)
inlineprivate

◆ ReceiveValue()

void ReceiveValue ( int  value_type,
Param  param 
)
inlineprivate

◆ SendValue()

◆ SetLastDamage()

void SetLastDamage ( string  value)
inlineprivate

References m_CurrentLastDamage.

Field Documentation

◆ LAST_DAMAGE_FALL

const int LAST_DAMAGE_FALL = 1
private

◆ LAST_DAMAGE_HIT

const int LAST_DAMAGE_HIT = 2
private

◆ m_BloodClient

float m_BloodClient
private

Referenced by GetBlood(), and ReceiveValue().

◆ m_BloodMaxValue

float m_BloodMaxValue
private

Referenced by CheckBlood(), and Init().

◆ m_CurrentLastDamage

string m_CurrentLastDamage
private

Referenced by CheckLastDamage(), and SetLastDamage().

◆ m_HealthClient

float m_HealthClient
private

Referenced by GetHealth(), and ReceiveValue().

◆ m_HealthMaxValue

float m_HealthMaxValue
private

Referenced by CheckHealth(), and Init().

◆ m_LastBloodUpdate

float m_LastBloodUpdate
private

Referenced by CheckBlood().

◆ m_LastDamageClient

string m_LastDamageClient
private

Referenced by GetLastDamage(), and ReceiveValue().

◆ m_lastDamageUpdate

string m_lastDamageUpdate
private

Referenced by CheckLastDamage().

◆ m_LastHealthUpdate

float m_LastHealthUpdate
private

Referenced by CheckHealth().

◆ m_Player

◆ m_TimeSinceLastTick

float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1
private

Referenced by OnScheduledTick().

◆ SENSITIVTY_PERCENTAGE

const float SENSITIVTY_PERCENTAGE = 1
private

Referenced by CheckBlood(), and CheckHealth().

◆ TYPE_BLOOD

const int TYPE_BLOOD = 2
private

Referenced by CheckBlood(), ReceiveValue(), and SendValue().

◆ TYPE_BODY_TEMP

const int TYPE_BODY_TEMP = 3
private

◆ TYPE_HEALTH

const int TYPE_HEALTH = 1
private

◆ TYPE_LAST_DAMAGE

const int TYPE_LAST_DAMAGE = 5
private

◆ TYPE_POSITION

const int TYPE_POSITION = 4
private

◆ VALUE_CHECK_INTERVAL

const float VALUE_CHECK_INTERVAL = 1
private

Referenced by OnScheduledTick().


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