DIFF

class PluginLifespanSource

PluginLifespan PluginBase

All members, including inherited

Constructors 1

void PluginLifespan()
References LoadFromCfg(), m_BloodType, m_FakePlaytime
Show 1 more, m_PlayerCurrentLevel

Constants 2

protected static const int LIFESPAN_MIN = 0
protected static const int LIFESPAN_MAX = 240

value in minutes when player achieved maximum age in order to have full beard

Members 5

protected int m_FakePlaytime
protected ref map<PlayerBase, ref LifespanLevel> m_PlayerCurrentLevel
protected ref map<string, ref array< ref LifespanLevel>> m_LifespanLevels
protected ref map<string, ref BloodyHands> m_BloodyHands
protected ref map<PlayerBase, int> m_BloodType
Referenced by PluginLifespan()

Methods 22

static PluginLifespan GetInstance()
References Class.Cast(), and GetPlugin()
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)
protected LifespanLevel GetLifespanLevel(string player_class, float age = 0)
Referenced by UpdateLifespanLevel()
void SynchBeardVisual(PlayerBase player, int state)
References Print(), UpdateLifespanLevel(), LIFESPAN_MAX
Show 1 more, LIFESPAN_MIN
Referenced by SynchLifespanVisual()
void SynchBloodyHandsVisual(PlayerBase player, bool has_bloody_hands)
Referenced by SynchLifespanVisual()
void SynchShowBloodTypeVisual(PlayerBase player, bool show)
Referenced by SynchLifespanVisual()
void SynchShowBloodType(PlayerBase player, int blood_type)
Referenced by SynchLifespanVisual()
string GetCurrentHeadTexture(PlayerBase player)
string GetCurrentHeadMaterial(PlayerBase player)