PC Stable Documentation
|
|
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 |
|
inlineprivate |
|
inlineprivate |
References Math::AbsFloat(), m_BloodMaxValue, m_LastBloodUpdate, m_Player, SendValue(), SENSITIVTY_PERCENTAGE, and TYPE_BLOOD.
Referenced by CheckValues().
|
inlineprivate |
References Math::AbsFloat(), m_HealthMaxValue, m_LastHealthUpdate, m_Player, SendValue(), SENSITIVTY_PERCENTAGE, and TYPE_HEALTH.
Referenced by CheckValues().
|
inlineprivate |
References m_CurrentLastDamage, m_lastDamageUpdate, SendValue(), and TYPE_LAST_DAMAGE.
Referenced by CheckValues().
|
inlineprivate |
References CheckBlood(), CheckHealth(), and CheckLastDamage().
Referenced by OnScheduledTick().
|
inlineprivate |
References m_BloodClient.
Referenced by MissionBase::UpdateDebugMonitor().
|
inlineprivate |
References m_HealthClient.
Referenced by MissionBase::UpdateDebugMonitor().
|
inlineprivate |
References m_LastDamageClient.
Referenced by MissionBase::UpdateDebugMonitor().
|
inlineprivate |
References m_BloodMaxValue, m_HealthMaxValue, and m_Player.
Referenced by DebugMonitorValues().
|
inlineprivate |
References CachedObjectsParams::PARAM2_INT_FLOAT, Serializer::Read(), and ReceiveValue().
|
inlineprivate |
References CachedObjectsParams::PARAM2_INT_STRING, Serializer::Read(), and ReceiveValue().
|
inlineprivate |
References CheckValues(), GetGame(), m_TimeSinceLastTick, and VALUE_CHECK_INTERVAL.
References Mission::CreateDebugMonitor(), GetGame(), CGame::GetMission(), m_BloodClient, m_HealthClient, m_LastDamageClient, TYPE_BLOOD, TYPE_HEALTH, and TYPE_LAST_DAMAGE.
Referenced by OnRPCFloat(), and OnRPCString().
References GetGame(), m_Player, CachedObjectsParams::PARAM2_INT_FLOAT, CachedObjectsParams::PARAM2_INT_STRING, CGame::RPCSingleParam(), TYPE_BLOOD, TYPE_HEALTH, and TYPE_LAST_DAMAGE.
Referenced by CheckBlood(), CheckHealth(), and CheckLastDamage().
|
inlineprivate |
References m_CurrentLastDamage.
|
private |
|
private |
|
private |
Referenced by GetBlood(), and ReceiveValue().
|
private |
Referenced by CheckBlood(), and Init().
|
private |
Referenced by CheckLastDamage(), and SetLastDamage().
|
private |
Referenced by GetHealth(), and ReceiveValue().
|
private |
Referenced by CheckHealth(), and Init().
|
private |
Referenced by CheckBlood().
|
private |
Referenced by GetLastDamage(), and ReceiveValue().
|
private |
Referenced by CheckLastDamage().
|
private |
Referenced by CheckHealth().
|
private |
Referenced by CheckBlood(), CheckHealth(), DebugMonitorValues(), Init(), and SendValue().
|
private |
Referenced by OnScheduledTick().
|
private |
Referenced by CheckBlood(), and CheckHealth().
|
private |
Referenced by CheckBlood(), ReceiveValue(), and SendValue().
|
private |
|
private |
Referenced by CheckHealth(), ReceiveValue(), and SendValue().
|
private |
Referenced by CheckLastDamage(), ReceiveValue(), and SendValue().
|
private |
|
private |
Referenced by OnScheduledTick().