DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | InjuryHandlerThresholds |
class | InjuryAnimValues |
Enumerations | |
enum | eInjuryHandlerLevels { PRISTINE , WORN , DAMAGED , BADLY_DAMAGED , RUINED } |
Enumerator | |
---|---|
PRISTINE | |
WORN | |
DAMAGED | |
BADLY_DAMAGED | |
RUINED |
Definition at line 18 of file InjuryHandler.c.
Definition at line 144 of file InjuryHandler.c.
References GetInjuryLevel(), GetOverrideLevel(), m_ChangedStateInvoker, m_ForceInjuryAnimMask, m_HealthMaxValue, m_LastHealthUpdate, m_Player, SendValue(), and Synchronize().
Referenced by Update().
|
private |
|
private |
Definition at line 180 of file InjuryHandler.c.
References InjuryHandlerThresholds::BADLY_DAMAGED, InjuryHandlerThresholds::DAMAGED, InjuryHandlerThresholds::RUINED, and InjuryHandlerThresholds::WORN.
Referenced by CheckValue().
|
private |
Definition at line 198 of file InjuryHandler.c.
References Error(), InjuryAnimValues::LVL0, InjuryAnimValues::LVL1, InjuryAnimValues::LVL2, InjuryAnimValues::LVL3, and InjuryAnimValues::LVL4.
Referenced by SetInjuryCommandParams().
|
private |
Definition at line 75 of file InjuryHandler.c.
References m_ChangedStateInvoker.
|
private |
Definition at line 100 of file InjuryHandler.c.
References PlayerConstants::BROKEN_LEGS_HIGH_HEALTH_THRESHOLD, PlayerConstants::BROKEN_LEGS_LOW_HEALTH_THRESHOLD, m_ForceInjuryAnimMask, and m_Player.
Referenced by CheckValue().
|
private |
Definition at line 59 of file InjuryHandler.c.
References m_HealthMaxValue, and m_Player.
Referenced by ManBase::Init().
|
private |
|
private |
Definition at line 168 of file InjuryHandler.c.
References m_Player, and DayZPlayerSyncJunctures::SendInjury().
Referenced by CheckValue().
|
private |
Definition at line 173 of file InjuryHandler.c.
References GetInjuryValue(), m_AnimationChange, m_InjuryAnimDamageValue, and m_InjuryAnimEnabled.
|
private |
Definition at line 80 of file InjuryHandler.c.
References CheckValue(), GetGame(), m_AnimationChange, m_InjuryAnimDamageValue, m_InjuryAnimEnabled, m_Player, m_TimeSinceLastTick, and VALUE_CHECK_INTERVAL.
enum eInjuryHandlerLevels BROKEN_LEGS = 8 |
enum eInjuryHandlerLevels BROKEN_LEGS_SPLINT = 16 |
owner
Definition at line 54 of file InjuryHandler.c.
Referenced by SetInjuryCommandParams(), and Update().
ref ScriptInvoker m_ChangedStateInvoker = new ScriptInvoker() |
Definition at line 45 of file InjuryHandler.c.
Referenced by CheckValue(), and GetInvoker().
|
private |
Definition at line 57 of file InjuryHandler.c.
Referenced by CheckValue(), and GetOverrideLevel().
float m_HealthMaxValue |
Definition at line 50 of file InjuryHandler.c.
Referenced by CheckValue(), Managed::Init(), and InjuryAnimationHandler().
|
private |
Definition at line 56 of file InjuryHandler.c.
Referenced by GetInjuryAnimValue(), SetInjuryCommandParams(), and Update().
Definition at line 55 of file InjuryHandler.c.
Referenced by IsInjuryAnimEnabled(), SetInjuryCommandParams(), and Update().
eInjuryHandlerLevels m_LastHealthUpdate |
Definition at line 49 of file InjuryHandler.c.
Referenced by Managed::CheckHealth(), CheckValue(), Managed::Init(), and Managed::SendInitValues().
float m_LastUpdate |
Definition at line 48 of file InjuryHandler.c.
|
private |
Definition at line 53 of file InjuryHandler.c.
float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1 |
Definition at line 47 of file InjuryHandler.c.
Referenced by Managed::OnScheduledTick(), and Update().
enum eInjuryHandlerLevels MORPHINE = 1 |
enum eInjuryHandlerLevels NONE = 0 |
MUST BE POW2.
enum eInjuryHandlerLevels PAIN_KILLERS_LVL0 = 2 |
enum eInjuryHandlerLevels PAIN_KILLERS_LVL1 = 4 |
enum eInjuryHandlerLevels PRONE_ANIM_OVERRIDE = 32 |
Definition at line 43 of file InjuryHandler.c.
Referenced by Managed::CheckBlood(), and Managed::CheckHealth().
enum eInjuryHandlerLevels VALUE_CHECK_INTERVAL = 5 |
Referenced by Managed::OnScheduledTick(), and Update().