Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | InjuryHandlerThresholds |
class | InjuryAnimValues |
Enumerations | |
enum | eInjuryHandlerLevels { PRISTINE, WORN, DAMAGED, BADLY_DAMAGED, RUINED } |
Functions | |
void | InjuryAnimationHandler (PlayerBase player) |
bool | IsInjuryAnimEnabled () |
float | GetInjuryAnimValue () |
ScriptInvoker | GetInvoker () |
void | Update (float deltaT) |
eInjuryHandlerLevels | GetOverrideLevel (eInjuryHandlerLevels unchanged_level) |
void | CheckValue (bool forceUpdate=false) |
void | Synchronize (eInjuryHandlerLevels level) |
void | SendValue (eInjuryHandlerLevels level) |
void | SetInjuryCommandParams (bool enable, eInjuryHandlerLevels level) |
eInjuryHandlerLevels | GetInjuryLevel (float health) |
float | GetInjuryValue (eInjuryHandlerLevels level) |
Variables | |
enum eInjuryHandlerLevels | NONE = 0 |
MUST BE POW2. More... | |
enum eInjuryHandlerLevels | MORPHINE = 1 |
enum eInjuryHandlerLevels | PAIN_KILLERS_LVL0 = 2 |
enum eInjuryHandlerLevels | PAIN_KILLERS_LVL1 = 4 |
enum eInjuryHandlerLevels | BROKEN_LEGS = 8 |
enum eInjuryHandlerLevels | BROKEN_LEGS_SPLINT = 16 |
enum eInjuryHandlerLevels | PRONE_ANIM_OVERRIDE = 32 |
enum eInjuryHandlerLevels | VALUE_CHECK_INTERVAL = 5 |
const float | SENSITIVTY_PERCENTAGE = 1 |
ref ScriptInvoker | m_ChangedStateInvoker = new ScriptInvoker() |
float | m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1 |
float | m_LastUpdate |
eInjuryHandlerLevels | m_LastHealthUpdate |
float | m_HealthMaxValue |
private PlayerBase | m_Player |
private bool | m_AnimationChange = false |
owner More... | |
private bool | m_InjuryAnimEnabled = false |
private float | m_InjuryAnimDamageValue = 0 |
int | m_ForceInjuryAnimMask |
enum eInjuryHandlerLevels |
Enumerator | |
---|---|
PRISTINE | |
WORN | |
DAMAGED | |
BADLY_DAMAGED | |
RUINED |
Definition at line 18 of file injuryhandler.c.
void CheckValue | ( | bool | forceUpdate = false | ) |
Definition at line 154 of file injuryhandler.c.
float GetInjuryAnimValue | ( | ) |
Definition at line 70 of file injuryhandler.c.
eInjuryHandlerLevels GetInjuryLevel | ( | float | health | ) |
Definition at line 192 of file injuryhandler.c.
float GetInjuryValue | ( | eInjuryHandlerLevels | level | ) |
Definition at line 218 of file injuryhandler.c.
ScriptInvoker GetInvoker | ( | ) |
Definition at line 75 of file injuryhandler.c.
eInjuryHandlerLevels GetOverrideLevel | ( | eInjuryHandlerLevels | unchanged_level | ) |
Definition at line 100 of file injuryhandler.c.
void InjuryAnimationHandler | ( | PlayerBase | player | ) |
Definition at line 59 of file injuryhandler.c.
bool IsInjuryAnimEnabled | ( | ) |
Definition at line 65 of file injuryhandler.c.
void SendValue | ( | eInjuryHandlerLevels | level | ) |
Definition at line 180 of file injuryhandler.c.
void SetInjuryCommandParams | ( | bool | enable, |
eInjuryHandlerLevels | level | ||
) |
Definition at line 185 of file injuryhandler.c.
void Synchronize | ( | eInjuryHandlerLevels | level | ) |
Definition at line 173 of file injuryhandler.c.
void Update | ( | float | deltaT | ) |
Definition at line 80 of file injuryhandler.c.
enum eInjuryHandlerLevels BROKEN_LEGS = 8 |
enum eInjuryHandlerLevels BROKEN_LEGS_SPLINT = 16 |
private bool m_AnimationChange = false |
owner
Definition at line 54 of file injuryhandler.c.
ref ScriptInvoker m_ChangedStateInvoker = new ScriptInvoker() |
Definition at line 45 of file injuryhandler.c.
int m_ForceInjuryAnimMask |
Definition at line 57 of file injuryhandler.c.
float m_HealthMaxValue |
Definition at line 50 of file injuryhandler.c.
private float m_InjuryAnimDamageValue = 0 |
Definition at line 56 of file injuryhandler.c.
private bool m_InjuryAnimEnabled = false |
Definition at line 55 of file injuryhandler.c.
eInjuryHandlerLevels m_LastHealthUpdate |
Definition at line 49 of file injuryhandler.c.
float m_LastUpdate |
Definition at line 48 of file injuryhandler.c.
private PlayerBase m_Player |
Definition at line 53 of file injuryhandler.c.
float m_TimeSinceLastTick = VALUE_CHECK_INTERVAL + 1 |
Definition at line 47 of file injuryhandler.c.
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 |
const float SENSITIVTY_PERCENTAGE = 1 |
Definition at line 43 of file injuryhandler.c.
enum eInjuryHandlerLevels VALUE_CHECK_INTERVAL = 5 |