class DebugMonitorValuesSource
Constructors 1
void DebugMonitorValues(PlayerBase player)Referenced by PlayerBase.Init()
Constants 9
const int TYPE_HEALTH = 1const int TYPE_BLOOD = 2const int TYPE_BODY_TEMP = 3const int TYPE_POSITION = 4const int TYPE_LAST_DAMAGE = 5const int LAST_DAMAGE_FALL = 1const int LAST_DAMAGE_HIT = 2const float VALUE_CHECK_INTERVAL = 1Referenced by OnScheduledTick()
const float SENSITIVTY_PERCENTAGE = 1how much the value needs to change up/down from previous update to trigger a new update(in percent)
Members 11
PlayerBase m_PlayerReferenced by CheckBlood(), CheckHealth(), DebugMonitorValues()
Show 2 more
, Init(), and SendValue()float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1Referenced by OnScheduledTick()
string m_CurrentLastDamagefloat m_LastHealthUpdateReferenced by CheckHealth()
float m_LastBloodUpdateReferenced by CheckBlood()
string m_lastDamageUpdateReferenced by CheckLastDamage()
float m_HealthMaxValuefloat m_BloodMaxValuefloat m_BloodClientfloat m_HealthClientstring m_LastDamageClientMethods 14
void Init()Referenced by DebugMonitorValues()
void OnScheduledTick(float deltatime)References CheckValues(), CGame.IsClient(), CGame.IsDebugMonitor()
Show 2 more
, m_TimeSinceLastTick, and VALUE_CHECK_INTERVALReferenced by PlayerBase.OnCommandHandlerTick()
void CheckValues()Referenced by OnScheduledTick()
string GetLastDamage()References m_LastDamageClient
Referenced by MissionGameplay.UpdateDebugMonitor()
void CheckHealth()References Math.AbsFloat(), Object.GetHealth(), SendValue()
Show 5 more
, m_HealthMaxValue, m_LastHealthUpdate, m_Player, SENSITIVTY_PERCENTAGE, and TYPE_HEALTHReferenced by CheckValues()
void CheckBlood()References Math.AbsFloat(), Object.GetHealth(), SendValue()
Show 5 more
, m_BloodMaxValue, m_LastBloodUpdate, m_Player, SENSITIVTY_PERCENTAGE, and TYPE_BLOODReferenced by CheckValues()
void CheckLastDamage()Referenced by CheckValues()
References Class.Cast(), Mission.CreateDebugMonitor(), CGame.GetMission()
Show 7 more
, m_BloodClient, m_HealthClient, m_LastDamageClient, Param1.param1, TYPE_BLOOD, TYPE_HEALTH, and TYPE_LAST_DAMAGEvoid OnRPCFloat(ParamsReadContext ctx)References Serializer.Read(), ReceiveValue(), Param1.param1
Show 1 more
, CachedObjectsParams.PARAM2_INT_FLOATReferenced by PlayerBase.OnRPC()
void OnRPCString(ParamsReadContext ctx)References Serializer.Read(), ReceiveValue(), Param1.param1
Show 1 more
, CachedObjectsParams.PARAM2_INT_STRINGReferenced by PlayerBase.OnRPC()