◆ CorpseData()
◆ CanProgressDecay()
protected bool CanProgressDecay |
( |
| ) |
|
|
inlineprivate |
◆ UpdateCorpseState()
void UpdateCorpseState |
( |
bool |
force_check = false | ) |
|
|
inlineprivate |
References CanProgressDecay(), 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, m_LastLifetime, m_LifetimeAdjusted, m_Player, and MIN.
Referenced by MissionBase::UpdateCorpseStatesServer().
◆ GET_LIFETIME_TRIES_MAX
const int GET_LIFETIME_TRIES_MAX = 3 |
|
private |
◆ m_bUpdate
◆ m_iCorpseState
◆ m_iLastUpdateTime
◆ m_iMaxLifetime
◆ m_iTimeOfDeath
◆ m_iTriesToGetLifetime
int m_iTriesToGetLifetime |
|
private |
◆ m_LastLifetime
◆ m_LifetimeAdjusted
◆ m_Player
The documentation for this class was generated from the following file: