Enumerations | |
enum | eNotifiers { NTF_HEALTHY , NTF_BLEEDISH , NTF_HUNGRY , NTF_THIRSTY , NTF_STUFFED , NTF_SICK , NTF_WETNESS , NTF_WARMTH , NTF_FEVERISH , NTF_BLOOD , NTF_LIVES , NTF_STAMINA , NTF_PILLS , NTF_HEARTBEAT , NTF_FRACTURE , NTF_LEGS , NTF_COUNT } |
Functions | |
void | NotifiersManager (PlayerBase player) |
void | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
void | RegisterItself (int notifier_id, NotifierBase modifier) |
PlayerBase | GetPlayer () |
VirtualHud | GetVirtualHud () |
NotifierBase | FindNotifier (int type) |
void | ActivateByType (int notifier, bool triggerEvent=true) |
void | DeactivateByType (int notifier, bool triggerEvent=true) |
void | OnScheduledTick () |
void | TickNotifiers () |
Variables | |
enum eNotifiers | MAX_COUNT = 64 |
ref array< ref NotifierBase > | m_Notifiers |
ref NotifierBase | m_NotifiersStatic [MAX_COUNT] |
PlayerBase | m_Player |
ref VirtualHud | m_VirtualHud |
int | m_MinTickTime |
string | m_System = "Notifiers" |
enum eNotifiers |
References FindNotifier(), and NotifierBase::SetActive().
References FindNotifier(), and NotifierBase::SetActive().
NotifierBase FindNotifier | ( | int | type | ) |
References m_NotifiersStatic.
Referenced by ActivateByType(), and DeactivateByType().
PlayerBase GetPlayer | ( | ) |
References m_Player.
VirtualHud GetVirtualHud | ( | ) |
References m_VirtualHud.
Referenced by ManBase::OnBleedingSourceAdded(), ManBase::OnBleedingSourceRemoved(), and ManBase::OnRPC().
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
References m_Notifiers.
void NotifiersManager | ( | PlayerBase | player | ) |
References Init(), m_MinTickTime, m_Notifiers, m_Player, and MIN_TICK_NOTIFIERS.
Referenced by ManBase::Init().
void OnScheduledTick | ( | ) |
References GetPlayer(), and TickNotifiers().
Referenced by ManBase::OnTick().
void RegisterItself | ( | int | notifier_id, |
NotifierBase | modifier | ||
) |
References Error(), m_NotifiersStatic, and MAX_COUNT.
void TickNotifiers | ( | ) |
References GetGame(), CGame::GetTime(), and m_Notifiers.
Referenced by OnScheduledTick().
int m_MinTickTime |
Referenced by NotifiersManager().
ref array<ref NotifierBase> m_Notifiers |
ref NotifierBase m_NotifiersStatic[MAX_COUNT] |
Referenced by FindNotifier(), and RegisterItself().
PlayerBase m_Player |
string m_System = "Notifiers" |
ref VirtualHud m_VirtualHud |
Referenced by GetVirtualHud(), ManBase::GetVirtualHud(), ManBase::Init(), ManBase::OnPlayerLoaded(), and ManBase::OnScheduledTick().
enum eNotifiers MAX_COUNT = 64 |
Referenced by RegisterItself().