DIFF

class DebugMonitorValuesSource

Constructors 1

void DebugMonitorValues(PlayerBase player)
References Init(), and m_Player
Referenced by PlayerBase.Init()

Constants 9

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
Referenced by OnScheduledTick()
const float SENSITIVTY_PERCENTAGE = 1

how much the value needs to change up/down from previous update to trigger a new update(in percent)

Referenced by CheckBlood(), and CheckHealth()

Members 11

PlayerBase m_Player
Referenced by CheckBlood(), CheckHealth(), DebugMonitorValues()
Show 2 more, Init(), and SendValue()
float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1
Referenced by OnScheduledTick()
string m_CurrentLastDamage
float m_LastHealthUpdate
Referenced by CheckHealth()
float m_LastBloodUpdate
Referenced by CheckBlood()
string m_lastDamageUpdate
Referenced by CheckLastDamage()
float m_HealthMaxValue
Referenced by CheckHealth(), and Init()
float m_BloodMaxValue
Referenced by CheckBlood(), and Init()
float m_BloodClient
Referenced by GetBlood(), and ReceiveValue()
float m_HealthClient
Referenced by GetHealth(), and ReceiveValue()
string m_LastDamageClient
Referenced by GetLastDamage(), and ReceiveValue()

Methods 14

void Init()
Referenced by DebugMonitorValues()
void OnScheduledTick(float deltatime)
void CheckValues()
Referenced by OnScheduledTick()
float GetBlood()
References m_BloodClient
float GetHealth()
References m_HealthClient
string GetLastDamage()
void SetLastDamage(string value)
Referenced by PlayerBase.EEHitBy()
void CheckLastDamage()
Referenced by CheckValues()