Enumerations | |
| enum | DSLevels { WARNING = 1 , CRITICAL = 2 , BLINKING = 3 , EXTRA = 4 } | 
Functions | |
| void | VirtualHud (PlayerBase player) | 
| void | OnScheduledTick () | 
| void | RegisterElement (DisplayElementBase element) | 
| DisplayElementBase | GetElement (eDisplayElements element_id) | 
| void | SerializeElements (array< int > mask_array) | 
| void | DeserializeElements (array< int > mask_array) | 
| int | BitToDec (int mask, int index, int compareMask) | 
| void | PrintElements () | 
| void | SendRPC () | 
| bool | AreArraysSame (notnull array< int > array_a, notnull array< int > array_b) | 
| void | ImmediateUpdate () | 
| void | UpdateStatus () | 
| void | OnRPC (ParamsReadContext ctx) | 
| void | Debug () | 
Variables | |
| enum DSLevels | NORMAL = 0 | 
| enum DSLevels | WARNING_MINUS = 1 | 
| enum DSLevels | CRITICAL_MINUS = 2 | 
| enum DSLevels | BLINKING_MINUS = 3 | 
| enum DSLevels | WARNING_PLUS = 4 | 
| enum DSLevels | CRITICAL_PLUS = 5 | 
| enum DSLevels | BLINKING_PLUS = 6 | 
| enum DSLevels | NUMBER_OF_MASKS = 2 | 
| ref array< int > | m_LastSentArray | 
| const int | NUMBER_OF_ELEMENTS = eDisplayElements.COUNT | 
| ref DisplayElementBase | m_Elements [NUMBER_OF_ELEMENTS] | 
| Mission | mission | 
| Hud | m_Hud | 
| int | m_LastTick | 
| PlayerBase | m_Player | 
| string | m_System = "VirtualHud" | 
| ref array< ref Param > | rpcParams | 
| enum DSLevels | 
Referenced by SendRPC().
Referenced by DeserializeElements().
| void Debug | ( | ) | 
References GetPlugin(), Log(), m_ModulePlayerStatus, and NTFKEY_HUNGRY.
References BIT_INT_SIZE, BitToDec(), GetElement(), and NUMBER_OF_ELEMENTS.
Referenced by OnRPC().
| DisplayElementBase GetElement | ( | eDisplayElements | element_id | ) | 
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(), map< Class TKey, Class TValue >::GetValueArray(), 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 | ( | ) | 
References GetElement(), NUMBER_OF_ELEMENTS, and DisplayElementBase::UpdateHUD().
Referenced by OnScheduledTick().
| void OnRPC | ( | ParamsReadContext | ctx | ) | 
References DeserializeElements(), Serializer::Read(), and UpdateStatus().
| void OnScheduledTick | ( | ) | 
References GetGame(), GetTime(), CGame::GetTime(), ImmediateUpdate(), m_LastTick, SendRPC(), and VIRTUAL_HUD_UPDATE_INTERVAL.
| void PrintElements | ( | ) | 
References GetElement(), m_Value, NUMBER_OF_ELEMENTS, PrintString, and string::ToString().
| void RegisterElement | ( | DisplayElementBase | element | ) | 
References m_Elements.
Referenced by VirtualHud().
| void SendRPC | ( | ) | 
References AreArraysSame(), m_LastSentArray, m_Player, ScriptRPC::Send(), SerializeElements(), and Serializer::Write().
Referenced by InvokeSendRPC(), OnClick(), ActionEmptyBottleBase::OnEndAnimationLoop(), ActionEmptyBottleBase::OnEndServer(), OnScheduledTick(), ActionEmptyBottleBase::OnStartAnimationLoop(), and Tick().
References BIT_INT_SIZE, GetElement(), and NUMBER_OF_ELEMENTS.
Referenced by SendRPC().
| void UpdateStatus | ( | ) | 
References GetElement(), NUMBER_OF_ELEMENTS, and DisplayElementBase::UpdateHUD().
Referenced by OnRPC().
| void VirtualHud | ( | PlayerBase | player | ) | 
References GetGame(), Mission::GetHud(), CGame::GetMission(), m_Hud, m_LastTick, m_Player, mission, and RegisterElement().
Referenced by ManBase::GetVirtualHud(), ManBase::Init(), and ManBase::OnPlayerLoaded().
| 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] | 
Referenced by GetElement(), and RegisterElement().
| Hud m_Hud | 
Referenced by ManBase::CloseMapEx(), UIScriptedMenu::CloseMapMenu(), ManBase::EOnFrame(), ManBase::Init(), UIScriptedMenu::Init(), ScriptedWidgetEventHandler::ItemActionsWidget(), MissionBase::MissionGameplay(), MissionBase::OnEvent(), MissionBase::OnInit(), MissionBase::OnKeyPress(), ManBase::OnPlayerLoaded(), ManBase::OnRPC(), MissionBase::OnUpdate(), ManBase::OnVehicleSeatDriverEnter(), ManBase::OnVehicleSeatDriverLeft(), ManBase::StaminaHUDNotifier(), PluginBase::SwitchPermanentCrossHair(), ScriptedWidgetEventHandler::Update(), and VirtualHud().
| int m_LastTick | 
Referenced by OnScheduledTick(), ManBase::OnTick(), and VirtualHud().
| PlayerBase m_Player | 
| string m_System = "VirtualHud" | 
| Mission mission | 
Referenced by ScriptedWidgetEventHandler::Apply(), CGame::AutoTestLaunch(), UIScriptedMenu::CharacterCreationMenu(), CGame::CheckDialogs(), CGame::CreateScriptedMenu(), PluginBase::DisplayTendency(), Icon::FlagAction(), ActionTargetsCursor::GetHud(), ScriptedWidgetEventHandler::GetHud(), BaseBuildingBase::HandleRefreshers(), UIScriptedMenu::HudShow(), UIScriptedMenu::Init(), BaseBuildingBase::InsertRefresherPosition(), IsVonToggled(), Dispatcher::MissionGameplayHideInventory(), CGame::MissionLaunch(), UIScriptedMenu::NoteMenu(), ScriptedWidgetEventHandler::OnBleedingIndicationChanged(), CGame::OnEvent(), OnEvent(), UIScriptedMenu::OnHide(), OnHide(), CGame::OnKeyPress(), CGame::OnKeyRelease(), CGame::OnMouseButtonPress(), CGame::OnMouseButtonRelease(), OnPlayerDeath(), CGame::OnPostUpdate(), UIScriptedMenu::OnShow(), OnShow(), CGame::OnUpdate(), RainProcurementHandler::RainProcurementHandler(), Hud::RefreshQuickbar(), BaseBuildingBase::RemoveRefresherPosition(), CGame::SelectGamepad(), PluginBase::SetBadge(), PluginBase::SetStamina(), PluginBase::SetStance(), ShowVoiceNotification(), ScriptedWidgetEventHandler::Update(), UpdateInterval(), ManBase::UpdateLighting(), UpdateVoiceIcon(), VirtualHud(), UIScriptedMenu::~InGameMenu(), UIScriptedMenu::~InGameMenuXbox(), and UIScriptedMenu::~NoteMenu().
| @ NORMAL = 0 | 
| const int NUMBER_OF_ELEMENTS = eDisplayElements.COUNT | 
Referenced by DeserializeElements(), GetElement(), ImmediateUpdate(), PrintElements(), SerializeElements(), and UpdateStatus().
| enum DSLevels NUMBER_OF_MASKS = 2 | 
| enum DSLevels WARNING_MINUS = 1 | 
| enum DSLevels WARNING_PLUS = 4 |