![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | eRemoteDebugType { NONE , DAMAGE_ONLY , ALL } |
Functions | |
| void | DebugDamage (PlayerBase player) |
| void | EnableWidgets (bool enable) |
| void | InitWidgets () |
| void | MergeDamage (array< ref RemotePlayerDamageDebug > delta) |
| override void | OnInit () |
| Callback for user defined initialization. Called for all suites during TestHarness.Begin(). | |
| void | OnRPC (ParamsReadContext ctx) |
| override void | OnUpdate (float delta_time) |
| void | RequestPlayerInfo (PlayerBase player, int type) |
| void | UpdateDamageWidget (int index, PlayerBase player) |
| void | UpdateDistanceWidget (int index, PlayerBase other_player) |
| void | UpdateStatsWidget (int index, RemotePlayerStatDebug rpd) |
| void | UpdateWidgetsStats () |
Variables | |
| ref TextListboxWidget | m_DamageListWidgets [MAX_SIMULTANIOUS_PLAYERS] |
| eRemoteDebugType | m_DebugType |
| ref TextWidget | m_DistanceWidget [MAX_SIMULTANIOUS_PLAYERS] |
| ref map< PlayerBase, ref RemotePlayerDamageDebug > | m_PlayerDebugDamage = new map<PlayerBase,ref RemotePlayerDamageDebug> |
| ref array< ref RemotePlayerStatDebug > | m_PlayerDebugStats = new array<ref RemotePlayerStatDebug> |
| ref Widget | m_RootWidget [MAX_SIMULTANIOUS_PLAYERS] |
| ref Widget | m_RootWidgetDamage [MAX_SIMULTANIOUS_PLAYERS] |
| ref TextListboxWidget | m_StatListWidgets [MAX_SIMULTANIOUS_PLAYERS] |
| enum eRemoteDebugType | MAX_SIMULTANIOUS_PLAYERS = 10 |
| enum eRemoteDebugType |
| Enumerator | |
|---|---|
| NONE | |
| DAMAGE_ONLY | |
| ALL | |
Definition at line 1 of file pluginremoteplayerdebugclient.c.
| void DebugDamage | ( | PlayerBase | player | ) |
Definition at line 198 of file pluginremoteplayerdebugclient.c.
References RemotePlayerDamageDebug::Debug(), m_PlayerDebugDamage, m_PlayerDebugStats, and PrintString.
| void EnableWidgets | ( | bool | enable | ) |
Definition at line 47 of file pluginremoteplayerdebugclient.c.
References m_RootWidget, m_RootWidgetDamage, and MAX_SIMULTANIOUS_PLAYERS.
| void InitWidgets | ( | ) |
Definition at line 35 of file pluginremoteplayerdebugclient.c.
References FindAnyWidget(), g_Game, m_DamageListWidgets, m_DistanceWidget, m_RootWidget, m_RootWidgetDamage, m_StatListWidgets, and MAX_SIMULTANIOUS_PLAYERS.
| void MergeDamage | ( | array< ref RemotePlayerDamageDebug > | delta | ) |
Definition at line 168 of file pluginremoteplayerdebugclient.c.
References RemotePlayerDamageDebug::InsertDamageObject(), and m_PlayerDebugDamage.
Referenced by OnRPC().
| void OnRPC | ( | ParamsReadContext | ctx | ) |
Definition at line 226 of file pluginremoteplayerdebugclient.c.
References RemotePlayerDamageDebug::Debug(), RemotePlayerDamageDebug::GetPlayer(), m_PlayerDebugStats, MergeDamage(), PrintString, Serializer::Read(), and x.
| override void OnUpdate | ( | float | delta_time | ) |
Definition at line 28 of file pluginremoteplayerdebugclient.c.
References m_DebugType, and UpdateWidgetsStats().
| void RequestPlayerInfo | ( | PlayerBase | player, |
| int | type ) |
Definition at line 148 of file pluginremoteplayerdebugclient.c.
References PluginBase::EnableWidgets(), m_DebugType, ScriptRPC::Send(), and Serializer::Write().
| void UpdateDamageWidget | ( | int | index, |
| PlayerBase | player ) |
Definition at line 96 of file pluginremoteplayerdebugclient.c.
References RemotePlayerDamageDebug::GetReversed(), DamageData::GetValueBlood(), DamageData::GetValueGlobal(), DamageData::GetValueShock(), m_DamageListWidgets, m_PlayerDebugDamage, and float::ToString().
Referenced by UpdateWidgetsStats().
| void UpdateDistanceWidget | ( | int | index, |
| PlayerBase | other_player ) |
Definition at line 127 of file pluginremoteplayerdebugclient.c.
References vector::Distance(), g_Game, m_DistanceWidget, and float::ToString().
Referenced by UpdateWidgetsStats().
| void UpdateStatsWidget | ( | int | index, |
| RemotePlayerStatDebug | rpd ) |
Definition at line 133 of file pluginremoteplayerdebugclient.c.
References m_DebugType, m_StatListWidgets, and RemotePlayerStatDebug().
Referenced by UpdateWidgetsStats().
| void UpdateWidgetsStats | ( | ) |
Definition at line 56 of file pluginremoteplayerdebugclient.c.
References g_Game, 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(), and UpdateDamageWidget().
| ref array<ref RemotePlayerStatDebug> m_PlayerDebugStats = new array<ref RemotePlayerStatDebug> |
Definition at line 11 of file pluginremoteplayerdebugclient.c.
Referenced by DebugDamage(), OnRPC(), and UpdateWidgetsStats().
| ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS] |
Definition at line 14 of file pluginremoteplayerdebugclient.c.
Referenced by AttachmentsWrapper::AttachmentsWrapper(), CargoContainerRow::CargoContainerRow(), HandsContainer::HandsContainer(), LeftArea::LeftArea(), PlayerContainer::PlayerContainer(), RightArea::RightArea(), VicinityContainer::VicinityContainer(), ZombieContainer::ZombieContainer(), Container::CargoContainer(), Container::ClosableContainer(), LayoutHolder::Container(), HandsPreview::CreateNewIcon(), HandsPreview::DeleteIcon(), EnableWidgets(), Icon::InitEx(), Icon::InitLock(), InitWidgets(), LeftArea::Refresh(), PlayerContainer::Refresh(), AttachmentCategoriesContainer::SetEntity(), Icon::SetTemperature(), LeftArea::UpdateInterval(), and UpdateWidgetsStats().
| 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(), and UpdateStatsWidget().
| enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS = 10 |
Referenced by EnableWidgets(), InitWidgets(), and UpdateWidgetsStats().