![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
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 | ActivateByType (int notifier, bool triggerEvent=true) |
| void | DeactivateByType (int notifier, bool triggerEvent=true) |
| NotifierBase | FindNotifier (int type) |
| PlayerBase | GetPlayer () |
| VirtualHud | GetVirtualHud () |
| void | Init () |
| void | NotifiersManager (PlayerBase player) |
| void | OnScheduledTick () |
| void | RegisterItself (int notifier_id, NotifierBase modifier) |
| void | TickNotifiers () |
Variables | |
| int | m_LastPolledIndex = 0 |
| int | m_MinTickTime |
| ref array< int > | m_NotifierIDs = new array<int>() |
| ref array< ref NotifierBase > | m_Notifiers |
| NotifierBase | m_NotifiersStatic [MAX_COUNT] |
| PlayerBase | m_Player |
| string | m_System = "Notifiers" |
| ref VirtualHud | m_VirtualHud |
| enum eNotifiers | MAX_COUNT = 64 |
| enum eNotifiers |
Definition at line 2 of file notifiersmanager.c.
Definition at line 95 of file notifiersmanager.c.
References FindNotifier(), and NotifierBase::SetActive().
Definition at line 100 of file notifiersmanager.c.
References FindNotifier(), and NotifierBase::SetActive().
|
private |
Definition at line 90 of file notifiersmanager.c.
References m_NotifiersStatic.
Referenced by ActivateByType(), and DeactivateByType().
|
private |
Definition at line 80 of file notifiersmanager.c.
|
private |
Definition at line 85 of file notifiersmanager.c.
References m_VirtualHud, and VirtualHud().
Referenced by ManBase::Init(), ManBase::OnBleedingSourceAdded(), ManBase::OnBleedingSourceRemoved(), ManBase::OnPlayerLoaded(), and ManBase::OnRPC().
|
private |
Definition at line 47 of file notifiersmanager.c.
References m_Notifiers.
|
private |
Definition at line 37 of file notifiersmanager.c.
References Init(), m_LastPolledIndex, m_MinTickTime, m_Notifiers, and MIN_TICK_NOTIFIERS.
Referenced by BleedingNotfr::BleedingNotfr(), FeverNotfr::FeverNotfr(), FracturedLegNotfr::FracturedLegNotfr(), HealthNotfr::HealthNotfr(), HeartbeatNotfr::HeartbeatNotfr(), InjuredLegNotfr::InjuredLegNotfr(), NotifierBase::NotifierBase(), PillsNotfr::PillsNotfr(), SickNotfr::SickNotfr(), StuffedNotfr::StuffedNotfr(), WarmthNotfr::WarmthNotfr(), WetnessNotfr::WetnessNotfr(), ManBase::GetNotifiersManager(), and ManBase::Init().
|
private |
Definition at line 105 of file notifiersmanager.c.
References GetPlayer(), and TickNotifiers().
Referenced by ManBase::OnTick().
|
private |
Definition at line 64 of file notifiersmanager.c.
References ErrorEx, m_NotifierIDs, m_NotifiersStatic, and MAX_COUNT.
|
private |
Definition at line 113 of file notifiersmanager.c.
References ErrorEx, g_Game, NotifierBase::IsActive(), NotifierBase::IsTimeToTick(), m_LastPolledIndex, m_NotifierIDs, m_Notifiers, m_NotifiersStatic, and NotifierBase::OnTick().
Referenced by OnScheduledTick().
|
private |
Definition at line 34 of file notifiersmanager.c.
Referenced by NotifiersManager(), and TickNotifiers().
| int m_MinTickTime |
Definition at line 32 of file notifiersmanager.c.
Referenced by NotifiersManager().
Definition at line 35 of file notifiersmanager.c.
Referenced by RegisterItself(), and TickNotifiers().
| ref array<ref NotifierBase> m_Notifiers |
Definition at line 28 of file notifiersmanager.c.
Referenced by Init(), NotifiersManager(), and TickNotifiers().
| NotifierBase m_NotifiersStatic[MAX_COUNT] |
Definition at line 29 of file notifiersmanager.c.
Referenced by FindNotifier(), RegisterItself(), and TickNotifiers().
Definition at line 30 of file notifiersmanager.c.
| string m_System = "Notifiers" |
Definition at line 33 of file notifiersmanager.c.
| ref VirtualHud m_VirtualHud |
Definition at line 31 of file notifiersmanager.c.
Referenced by GetVirtualHud().
| enum eNotifiers MAX_COUNT = 64 |
Referenced by RegisterItself().