![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | DSLevels { WARNING = 1 , CRITICAL = 2 , BLINKING = 3 , EXTRA = 4 } |
Functions | |
| bool | AreArraysSame (notnull array< int > array_a, notnull array< int > array_b) |
| int | BitToDec (int mask, int index, int compareMask) |
| void | Debug () |
| void | DeserializeElements (array< int > mask_array) |
| DisplayElementBase | GetElement (eDisplayElements element_id) |
| void | ImmediateUpdate () |
| void | OnRPC (ParamsReadContext ctx) |
| void | OnScheduledTick () |
| void | PrintElements () |
| void | RegisterElement (DisplayElementBase element) |
| void | SendRPC () |
| void | SerializeElements (array< int > mask_array) |
| void | UpdateStatus () |
| void | VirtualHud (PlayerBase player) |
Variables | |
| enum DSLevels | BLINKING_MINUS = 3 |
| enum DSLevels | BLINKING_PLUS = 6 |
| enum DSLevels | CRITICAL_MINUS = 2 |
| enum DSLevels | CRITICAL_PLUS = 5 |
| ref DisplayElementBase | m_Elements [NUMBER_OF_ELEMENTS] |
| Hud | m_Hud |
| ref array< int > | m_LastSentArray |
| int | m_LastTick |
| PlayerBase | m_Player |
| string | m_System = "VirtualHud" |
| Mission | mission |
| enum DSLevels | NORMAL = 0 |
| const int | NUMBER_OF_ELEMENTS = eDisplayElements.COUNT |
| enum DSLevels | NUMBER_OF_MASKS = 2 |
| ref array< ref Param > | rpcParams |
| enum DSLevels | WARNING_MINUS = 1 |
| enum DSLevels | WARNING_PLUS = 4 |
| enum DSLevels |
| Enumerator | |
|---|---|
| WARNING | |
| CRITICAL | |
| BLINKING | |
| EXTRA | |
Definition at line 1 of file displaystatus.c.
Definition at line 188 of file displaystatus.c.
Referenced by SendRPC().
Definition at line 156 of file displaystatus.c.
Referenced by DeserializeElements().
| void Debug | ( | ) |
Definition at line 233 of file displaystatus.c.
References GetPlugin(), Log(), m_ModulePlayerStatus, and NTFKEY_HUNGRY.
Definition at line 130 of file displaystatus.c.
References BIT_INT_SIZE, BitToDec(), GetElement(), and NUMBER_OF_ELEMENTS.
Referenced by OnRPC().
| DisplayElementBase GetElement | ( | eDisplayElements | element_id | ) |
Definition at line 96 of file displaystatus.c.
References m_Elements, and NUMBER_OF_ELEMENTS.
Referenced by DeserializeElements(), BleedingNotfr::DisplayBadge(), FracturedLegNotfr::DisplayBadge(), HeartbeatNotfr::DisplayBadge(), InjuredLegNotfr::DisplayBadge(), PillsNotfr::DisplayBadge(), SickNotfr::DisplayBadge(), StuffedNotfr::DisplayBadge(), WetnessNotfr::DisplayBadge(), BloodNotfr::DisplayTendency(), HealthNotfr::DisplayTendency(), HungerNotfr::DisplayTendency(), ThirstNotfr::DisplayTendency(), WarmthNotfr::DisplayTendency(), map< Class TKey, Class TValue >::GetKeyByValue(), map< Class TKey, Class TValue >::GetKeyByValueChecked(), BleedingNotfr::HideBadge(), FracturedLegNotfr::HideBadge(), HeartbeatNotfr::HideBadge(), InjuredLegNotfr::HideBadge(), PillsNotfr::HideBadge(), SickNotfr::HideBadge(), StuffedNotfr::HideBadge(), WetnessNotfr::HideBadge(), ImmediateUpdate(), ManBase::OnBleedingSourceAdded(), ManBase::OnBleedingSourceRemoved(), PrintElements(), SerializeElements(), and UpdateStatus().
| void ImmediateUpdate | ( | ) |
Definition at line 201 of file displaystatus.c.
References GetElement(), NUMBER_OF_ELEMENTS, and DisplayElementBase::UpdateHUD().
Referenced by OnScheduledTick().
| void OnRPC | ( | ParamsReadContext | ctx | ) |
Definition at line 224 of file displaystatus.c.
References DeserializeElements(), Serializer::Read(), and UpdateStatus().
| void OnScheduledTick | ( | ) |
Definition at line 71 of file displaystatus.c.
References g_Game, ImmediateUpdate(), m_LastTick, SendRPC(), and VIRTUAL_HUD_UPDATE_INTERVAL.
| void PrintElements | ( | ) |
Definition at line 163 of file displaystatus.c.
References GetElement(), m_Value, NUMBER_OF_ELEMENTS, and PrintString.
| void RegisterElement | ( | DisplayElementBase | element | ) |
| void SendRPC | ( | ) |
Definition at line 171 of file displaystatus.c.
References AreArraysSame(), m_LastSentArray, ScriptRPC::Send(), SerializeElements(), and Serializer::Write().
Referenced by InvokeSendRPC(), OnClick(), ActionEmptyBottleBase::OnEndAnimationLoop(), ActionEmptyBottleBase::OnEndServer(), OnScheduledTick(), ActionEmptyBottleBase::OnStartAnimationLoop(), and Tick().
Definition at line 106 of file displaystatus.c.
References BIT_INT_SIZE, GetElement(), and NUMBER_OF_ELEMENTS.
Referenced by SendRPC().
| void UpdateStatus | ( | ) |
Definition at line 211 of file displaystatus.c.
References GetElement(), NUMBER_OF_ELEMENTS, and DisplayElementBase::UpdateHUD().
Referenced by OnRPC().
| void VirtualHud | ( | PlayerBase | player | ) |
Definition at line 36 of file displaystatus.c.
References g_Game, m_Hud, m_LastTick, mission, and RegisterElement().
Referenced by GetVirtualHud(), ManBase::GetVirtualHud(), and NotifierBase::GetVirtualHud().
| enum DSLevels BLINKING_MINUS = 3 |
| enum DSLevels BLINKING_PLUS = 6 |
| enum DSLevels CRITICAL_MINUS = 2 |
| enum DSLevels CRITICAL_PLUS = 5 |
| ref DisplayElementBase m_Elements[NUMBER_OF_ELEMENTS] |
Definition at line 27 of file displaystatus.c.
Referenced by GetElement(), and RegisterElement().
| Hud m_Hud |
Definition at line 29 of file displaystatus.c.
Referenced by VirtualHud().
Definition at line 24 of file displaystatus.c.
Referenced by SendRPC().
| int m_LastTick |
Definition at line 30 of file displaystatus.c.
Referenced by OnScheduledTick(), and VirtualHud().
Definition at line 31 of file displaystatus.c.
| string m_System = "VirtualHud" |
Definition at line 32 of file displaystatus.c.
| Mission mission |
Definition at line 28 of file displaystatus.c.
Referenced by RainProcurementHandler::RainProcurementHandler(), UIScriptedMenu::~InGameMenu(), UIScriptedMenu::~InGameMenuXbox(), UIScriptedMenu::~NoteMenu(), ScriptedWidgetEventHandler::Apply(), CGame::AutoTestLaunch(), UIScriptedMenu::CharacterCreationMenu(), CGame::CheckDialogs(), ManBase::CloseInventoryMenu(), ManBase::CloseMapEx(), CGame::CreateScriptedMenu(), DeveloperFreeCamera::DisableFreeCamera(), PluginBase::DisplayTendency(), Icon::FlagAction(), ActionTargetsCursor::GetHud(), ScriptedWidgetEventHandler::GetHud(), MissionBase::HandleMapToggleByKeyboardShortcut(), BaseBuildingBase::HandleRefreshers(), UIScriptedMenu::HudShow(), UIScriptedMenu::Init(), BaseBuildingBase::InsertRefresherPosition(), Inventory(), IsVonToggled(), Dispatcher::MissionGameplayHideInventory(), CGame::MissionLaunch(), UIScriptedMenu::NoteMenu(), ScriptedWidgetEventHandler::OnBleedingIndicationChanged(), CGame::OnEvent(), OnEvent(), Input::OnGamepadConnected(), Input::OnGamepadDisconnected(), Input::OnGamepadIdentification(), OnHide(), UIScriptedMenu::OnHide(), CGame::OnKeyPress(), CGame::OnKeyRelease(), UIScriptedMenu::OnModalResult(), CGame::OnMouseButtonPress(), CGame::OnMouseButtonRelease(), OnPlayerDeath(), ManBase::OnPlayerLoaded(), CGame::OnPostUpdate(), OnShow(), UIScriptedMenu::OnShow(), CGame::OnUpdate(), BiosUserManager::OnUserPicked(), ActionUnfoldMapCB::PerformMapChange(), Hud::RefreshQuickbar(), BaseBuildingBase::RemoveRefresherPosition(), CGame::SelectGamepad(), PluginBase::SetBadge(), CGame::SetMission(), SetNVPostprocess(), PluginBase::SetStamina(), PluginBase::SetStance(), SetTimeOfDate(), ShowVoiceNotification(), ScriptedWidgetEventHandler::Update(), UIScriptedMenu::UpdateExitButtonState(), UpdateInterval(), ManBase::UpdateLighting(), UpdateVoiceIcon(), and VirtualHud().
| @ NORMAL = 0 |
Definition at line 3 of file displaystatus.c.
| const int NUMBER_OF_ELEMENTS = eDisplayElements.COUNT |
Definition at line 26 of file displaystatus.c.
Referenced by DeserializeElements(), GetElement(), ImmediateUpdate(), PrintElements(), SerializeElements(), and UpdateStatus().
| enum DSLevels NUMBER_OF_MASKS = 2 |
Definition at line 34 of file displaystatus.c.
| enum DSLevels WARNING_MINUS = 1 |
| enum DSLevels WARNING_PLUS = 4 |