PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
CorpseData Class Reference

Private Member Functions

void CorpseData (notnull PlayerBase player, int time_of_death)
 
void UpdateCorpseState (bool force_check=false)
 
protected bool CanProgressDecay ()
 

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
 
float m_LifetimeAdjusted = float.MIN
 
float m_LastLifetime = float.MIN
 
PlayerBase m_Player
 

Constructor & Destructor Documentation

◆ CorpseData()

Member Function Documentation

◆ CanProgressDecay()

protected bool CanProgressDecay ( )
inlineprivate

References m_Player.

Referenced by UpdateCorpseState().

◆ UpdateCorpseState()

Field Documentation

◆ GET_LIFETIME_TRIES_MAX

const int GET_LIFETIME_TRIES_MAX = 3
private

Referenced by UpdateCorpseState().

◆ m_bUpdate

◆ m_iCorpseState

int m_iCorpseState
private

Referenced by CorpseData(), and UpdateCorpseState().

◆ m_iLastUpdateTime

int m_iLastUpdateTime
private

◆ m_iMaxLifetime

int m_iMaxLifetime
private

Referenced by CorpseData(), and UpdateCorpseState().

◆ m_iTimeOfDeath

int m_iTimeOfDeath
private

Referenced by CorpseData().

◆ m_iTriesToGetLifetime

int m_iTriesToGetLifetime
private

Referenced by CorpseData(), and UpdateCorpseState().

◆ m_LastLifetime

float m_LastLifetime = float.MIN
private

Referenced by UpdateCorpseState().

◆ m_LifetimeAdjusted

float m_LifetimeAdjusted = float.MIN
private

Referenced by UpdateCorpseState().

◆ m_Player


The documentation for this class was generated from the following file: