Go to the source code of this file.
|
void | PluginLifespan () |
|
void | LoadFromCfg () |
|
void | SynchLifespanVisual (PlayerBase player, int beard_state_visible, bool bloody_hands_visible, bool blood_type_visible, int blood_type) |
|
void | ChangeFakePlaytime (PlayerBase player, int change) |
|
void | UpdateLifespan (PlayerBase player, bool force_update=false) |
|
protected void | UpdateLifespanLevel (PlayerBase player, float player_beard, bool force_update=false) |
|
protected LifespanLevel | GetLifespanLevel (string player_class, float age=0) |
|
protected void | SetPlayerLifespanLevel (PlayerBase player, LifespanLevel level) |
|
void | SynchBeardVisual (PlayerBase player, int state) |
|
void | UpdateBloodyHandsVisibilityEx (PlayerBase player, eBloodyHandsTypes type) |
|
void | UpdateBloodyHandsVisibility (PlayerBase player, bool show) |
|
void | SynchBloodyHandsVisual (PlayerBase player, bool has_bloody_hands) |
|
void | SetBloodyHandsEx (PlayerBase player, eBloodyHandsTypes type) |
|
void | SetBloodyHands (PlayerBase player, bool show) |
|
protected void | SetHandsMaterial (PlayerBase player, int material_type) |
|
bool | CanMakeHandsBloody (PlayerBase player) |
|
void | UpdateBloodTypeVisibility (PlayerBase player, bool show) |
|
void | UpdateBloodType (PlayerBase player, int blood_type) |
|
void | SynchShowBloodTypeVisual (PlayerBase player, bool show) |
|
void | SynchShowBloodType (PlayerBase player, int blood_type) |
|
string | GetCurrentHeadTexture (PlayerBase player) |
|
string | GetCurrentHeadMaterial (PlayerBase player) |
|
◆ eBloodyHandsTypes
Enumerator |
---|
CLEAN | |
SALMONELA | |
JUST_BLOOD | |
LAST_INDEX | |
Definition at line 8 of file pluginlifespan.c.
◆ CanMakeHandsBloody()
◆ ChangeFakePlaytime()
◆ GetCurrentHeadMaterial()
◆ GetCurrentHeadTexture()
◆ GetLifespanLevel()
◆ LoadFromCfg()
◆ PluginLifespan()
◆ SetBloodyHands()
◆ SetBloodyHandsEx()
◆ SetHandsMaterial()
protected void SetHandsMaterial |
( |
PlayerBase |
player, |
|
|
int |
material_type |
|
) |
| |
◆ SetPlayerLifespanLevel()
◆ SynchBeardVisual()
◆ SynchBloodyHandsVisual()
void SynchBloodyHandsVisual |
( |
PlayerBase |
player, |
|
|
bool |
has_bloody_hands |
|
) |
| |
◆ SynchLifespanVisual()
void SynchLifespanVisual |
( |
PlayerBase |
player, |
|
|
int |
beard_state_visible, |
|
|
bool |
bloody_hands_visible, |
|
|
bool |
blood_type_visible, |
|
|
int |
blood_type |
|
) |
| |
◆ SynchShowBloodType()
◆ SynchShowBloodTypeVisual()
◆ UpdateBloodType()
◆ UpdateBloodTypeVisibility()
◆ UpdateBloodyHandsVisibility()
◆ UpdateBloodyHandsVisibilityEx()
◆ UpdateLifespan()
◆ UpdateLifespanLevel()
protected void UpdateLifespanLevel |
( |
PlayerBase |
player, |
|
|
float |
player_beard, |
|
|
bool |
force_update = false |
|
) |
| |
◆ BEARD_EXTRA
◆ BEARD_LARGE
◆ BEARD_MEDIUM
◆ BEARD_NONE
◆ COUNT
◆ LIFESPAN_MIN
◆ m_BloodType
◆ m_BloodyHands
◆ m_FakePlaytime
protected int m_FakePlaytime |
◆ m_LifespanLevels
◆ m_PlayerCurrentLevel