DayZ 1.24
|
Private Member Functions | |
void | CorpseData (notnull PlayerBase player, int time_of_death) |
void | UpdateCorpseState (bool force_check=false) |
Private Attributes | |
const int | GET_LIFETIME_TRIES_MAX = 3 |
bool | m_bUpdate |
int | m_iLastUpdateTime |
int | m_iTimeOfDeath |
int | m_iMaxLifetime |
int | m_iCorpseState |
int | m_iTriesToGetLifetime |
PlayerBase | m_Player |
Definition at line 1 of file CorpseData.c.
|
inlineprivate |
Definition at line 13 of file CorpseData.c.
References PlayerConstants::CORPSE_STATE_FRESH, m_bUpdate, m_iCorpseState, m_iLastUpdateTime, m_iMaxLifetime, m_iTimeOfDeath, m_iTriesToGetLifetime, and m_Player.
Definition at line 29 of file CorpseData.c.
References Math::Clamp(), PlayerConstants::CORPSE_STATE_DECAYED, PlayerConstants::CORPSE_STATE_FRESH, PlayerConstants::CORPSE_STATE_MEDIUM, PlayerConstants::CORPSE_THRESHOLD_DECAYED, PlayerConstants::CORPSE_THRESHOLD_MEDIUM, GET_LIFETIME_TRIES_MAX, m_bUpdate, m_iCorpseState, m_iMaxLifetime, m_iTriesToGetLifetime, and m_Player.
Definition at line 3 of file CorpseData.c.
Referenced by UpdateCorpseState().
|
private |
Definition at line 5 of file CorpseData.c.
Referenced by CorpseData(), and UpdateCorpseState().
|
private |
Definition at line 9 of file CorpseData.c.
Referenced by CorpseData(), and UpdateCorpseState().
|
private |
Definition at line 6 of file CorpseData.c.
Referenced by CorpseData().
|
private |
Definition at line 8 of file CorpseData.c.
Referenced by CorpseData(), and UpdateCorpseState().
|
private |
Definition at line 7 of file CorpseData.c.
Referenced by CorpseData().
|
private |
Definition at line 10 of file CorpseData.c.
Referenced by CorpseData(), and UpdateCorpseState().
|
private |
Definition at line 11 of file CorpseData.c.
Referenced by CorpseData(), and UpdateCorpseState().