DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | eRemoteDebugType { NONE , DAMAGE_ONLY , ALL } |
Enumerator | |
---|---|
NONE | |
DAMAGE_ONLY | |
ALL |
Definition at line 1 of file PluginRemotePlayerDebugClient.c.
void DebugDamage | ( | PlayerBase | player | ) |
Definition at line 190 of file PluginRemotePlayerDebugClient.c.
References RemotePlayerDamageDebug::Debug(), m_PlayerDebugDamage, m_PlayerDebugStats, and PrintString().
Definition at line 47 of file PluginRemotePlayerDebugClient.c.
References m_RootWidget, m_RootWidgetDamage, and MAX_SIMULTANIOUS_PLAYERS.
Referenced by RequestPlayerInfo().
void InitWidgets | ( | ) |
Definition at line 35 of file PluginRemotePlayerDebugClient.c.
References FindAnyWidget(), GetGame(), m_DamageListWidgets, m_DistanceWidget, m_RootWidget, m_RootWidgetDamage, m_StatListWidgets, and MAX_SIMULTANIOUS_PLAYERS.
Referenced by OnInit().
void MergeDamage | ( | array< ref RemotePlayerDamageDebug > | delta | ) |
Definition at line 164 of file PluginRemotePlayerDebugClient.c.
References m_PlayerDebugDamage.
Referenced by OnRPC().
Definition at line 21 of file PluginRemotePlayerDebugClient.c.
References InitWidgets().
void OnRPC | ( | ParamsReadContext | ctx | ) |
Definition at line 218 of file PluginRemotePlayerDebugClient.c.
References m_PlayerDebugStats, MergeDamage(), PrintString(), and x.
Definition at line 28 of file PluginRemotePlayerDebugClient.c.
References m_DebugType, and UpdateWidgetsStats().
void RequestPlayerInfo | ( | PlayerBase | player, |
int | type ) |
Definition at line 146 of file PluginRemotePlayerDebugClient.c.
References EnableWidgets(), and m_DebugType.
void UpdateDamageWidget | ( | int | index, |
PlayerBase | player ) |
Definition at line 96 of file PluginRemotePlayerDebugClient.c.
References m_DamageListWidgets, and m_PlayerDebugDamage.
Referenced by UpdateWidgetsStats().
void UpdateDistanceWidget | ( | int | index, |
PlayerBase | other_player ) |
Definition at line 125 of file PluginRemotePlayerDebugClient.c.
References vector::Distance(), GetGame(), and m_DistanceWidget.
Referenced by UpdateWidgetsStats().
void UpdateStatsWidget | ( | int | index, |
RemotePlayerStatDebug | rpd ) |
Definition at line 131 of file PluginRemotePlayerDebugClient.c.
References m_DebugType, and m_StatListWidgets.
Referenced by UpdateWidgetsStats().
void UpdateWidgetsStats | ( | ) |
Definition at line 56 of file PluginRemotePlayerDebugClient.c.
References GetGame(), m_PlayerDebugStats, m_RootWidget, m_RootWidgetDamage, MAX_SIMULTANIOUS_PLAYERS, RemotePlayerStatDebug(), UpdateDamageWidget(), UpdateDistanceWidget(), and UpdateStatsWidget().
Referenced by OnUpdate().
ref TextListboxWidget m_DamageListWidgets[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 17 of file PluginRemotePlayerDebugClient.c.
Referenced by InitWidgets(), and UpdateDamageWidget().
eRemoteDebugType m_DebugType |
Definition at line 19 of file PluginRemotePlayerDebugClient.c.
Referenced by OnUpdate(), RequestPlayerInfo(), and UpdateStatsWidget().
ref TextWidget m_DistanceWidget[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 18 of file PluginRemotePlayerDebugClient.c.
Referenced by InitializeWidgets(), InitWidgets(), OnUpdate(), and UpdateDistanceWidget().
ref map<PlayerBase, ref RemotePlayerDamageDebug> m_PlayerDebugDamage = new map<PlayerBase, ref RemotePlayerDamageDebug> |
Definition at line 12 of file PluginRemotePlayerDebugClient.c.
Referenced by DebugDamage(), MergeDamage(), PluginBase::OnDamageEvent(), PluginBase::SendDebug(), and UpdateDamageWidget().
ref array<ref RemotePlayerStatDebug> m_PlayerDebugStats = new array<ref RemotePlayerStatDebug> |
Definition at line 11 of file PluginRemotePlayerDebugClient.c.
Referenced by DebugDamage(), PluginBase::GatherPlayerInfo(), OnRPC(), PluginBase::SendDebug(), and UpdateWidgetsStats().
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 14 of file PluginRemotePlayerDebugClient.c.
Referenced by AttachmentsWrapper::AttachmentsWrapper(), Container::CargoContainer(), CargoContainerRow::CargoContainerRow(), Container::ClosableContainer(), LayoutHolder::Container(), HandsPreview::CreateNewIcon(), HandsPreview::DeleteIcon(), EnableWidgets(), PluginBase::EnableWidgets(), ScriptedWidgetEventHandler::GetRootWidget(), HandsContainer::HandsContainer(), Icon::InitEx(), Icon::InitLock(), InitWidgets(), PluginBase::InitWidgets(), ScriptedWidgetEventHandler::IsVisible(), ScriptedWidgetEventHandler::LayoutHolder(), LeftArea::LeftArea(), ScriptedWidgetEventHandler::OnHide(), ScriptedWidgetEventHandler::OnShow(), PlayerContainer::PlayerContainer(), LeftArea::Refresh(), PlayerContainer::Refresh(), ScriptedWidgetEventHandler::Refresh(), RightArea::RightArea(), AttachmentCategoriesContainer::SetEntity(), Icon::SetTemperature(), LeftArea::UpdateInterval(), PluginBase::UpdateStatWidgets(), UpdateWidgetsStats(), VicinityContainer::VicinityContainer(), ZombieContainer::ZombieContainer(), and ScriptedWidgetEventHandler::~LayoutHolder().
ref Widget m_RootWidgetDamage[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 15 of file PluginRemotePlayerDebugClient.c.
Referenced by EnableWidgets(), InitWidgets(), and UpdateWidgetsStats().
ref TextListboxWidget m_StatListWidgets[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 16 of file PluginRemotePlayerDebugClient.c.
Referenced by InitWidgets(), PluginBase::InitWidgets(), UpdateStatsWidget(), and PluginBase::UpdateStatWidget().
enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS = 10 |
Referenced by EnableWidgets(), InitWidgets(), and UpdateWidgetsStats().