Enumerations | |
| enum | eRemoteDebugType { NONE , DAMAGE_ONLY , ALL } |
Functions | |
| override void | OnInit () |
| Callback for user defined initialization. Called for all suites during TestHarness.Begin(). | |
| override void | OnUpdate (float delta_time) |
| void | InitWidgets () |
| void | EnableWidgets (bool enable) |
| void | UpdateWidgetsStats () |
| void | UpdateDamageWidget (int index, PlayerBase player) |
| void | UpdateDistanceWidget (int index, PlayerBase other_player) |
| void | UpdateStatsWidget (int index, RemotePlayerStatDebug rpd) |
| void | RequestPlayerInfo (PlayerBase player, int type) |
| void | MergeDamage (array< ref RemotePlayerDamageDebug > delta) |
| void | DebugDamage (PlayerBase player) |
| void | OnRPC (ParamsReadContext ctx) |
Variables | |
| enum eRemoteDebugType | MAX_SIMULTANIOUS_PLAYERS = 10 |
| ref array< ref RemotePlayerStatDebug > | m_PlayerDebugStats = new array<ref RemotePlayerStatDebug> |
| ref map< PlayerBase, ref RemotePlayerDamageDebug > | m_PlayerDebugDamage = new map<PlayerBase,ref RemotePlayerDamageDebug> |
| ref Widget | m_RootWidget [MAX_SIMULTANIOUS_PLAYERS] |
| ref Widget | m_RootWidgetDamage [MAX_SIMULTANIOUS_PLAYERS] |
| ref TextListboxWidget | m_StatListWidgets [MAX_SIMULTANIOUS_PLAYERS] |
| ref TextListboxWidget | m_DamageListWidgets [MAX_SIMULTANIOUS_PLAYERS] |
| ref TextWidget | m_DistanceWidget [MAX_SIMULTANIOUS_PLAYERS] |
| eRemoteDebugType | m_DebugType |
| enum eRemoteDebugType |
| void DebugDamage | ( | PlayerBase | player | ) |
References RemotePlayerDamageDebug::Debug(), m_PlayerDebugDamage, m_PlayerDebugStats, and PrintString.
| void EnableWidgets | ( | bool | enable | ) |
References m_RootWidget, m_RootWidgetDamage, and MAX_SIMULTANIOUS_PLAYERS.
| void InitWidgets | ( | ) |
| void MergeDamage | ( | array< ref RemotePlayerDamageDebug > | delta | ) |
References RemotePlayerDamageDebug::InsertDamageObject(), and m_PlayerDebugDamage.
Referenced by OnRPC().
| void OnRPC | ( | ParamsReadContext | ctx | ) |
| override void OnUpdate | ( | float | delta_time | ) |
References m_DebugType, and UpdateWidgetsStats().
| void RequestPlayerInfo | ( | PlayerBase | player, |
| int | type | ||
| ) |
References PluginBase::EnableWidgets(), m_DebugType, ScriptRPC::Send(), and Serializer::Write().
| void UpdateDamageWidget | ( | int | index, |
| PlayerBase | player | ||
| ) |
| void UpdateDistanceWidget | ( | int | index, |
| PlayerBase | other_player | ||
| ) |
References vector::Distance(), GetGame(), m_DistanceWidget, and float::ToString().
Referenced by UpdateWidgetsStats().
| void UpdateStatsWidget | ( | int | index, |
| RemotePlayerStatDebug | rpd | ||
| ) |
References m_DebugType, and m_StatListWidgets.
Referenced by UpdateWidgetsStats().
| void UpdateWidgetsStats | ( | ) |
References GetGame(), CGame::GetScreenPos(), m_PlayerDebugStats, m_RootWidget, m_RootWidgetDamage, MAX_SIMULTANIOUS_PLAYERS, RemotePlayerStatDebug(), UpdateDamageWidget(), UpdateDistanceWidget(), and UpdateStatsWidget().
Referenced by OnUpdate().
| ref TextListboxWidget m_DamageListWidgets[MAX_SIMULTANIOUS_PLAYERS] |
Referenced by InitWidgets(), and UpdateDamageWidget().
| eRemoteDebugType m_DebugType |
Referenced by OnUpdate(), RequestPlayerInfo(), and UpdateStatsWidget().
| ref TextWidget m_DistanceWidget[MAX_SIMULTANIOUS_PLAYERS] |
Referenced by InitializeWidgets(), InitWidgets(), OnUpdate(), and UpdateDistanceWidget().
| ref map<PlayerBase, ref RemotePlayerDamageDebug> m_PlayerDebugDamage = new map<PlayerBase,ref RemotePlayerDamageDebug> |
Referenced by DebugDamage(), MergeDamage(), PluginBase::OnDamageEvent(), PluginBase::SendDebug(), and UpdateDamageWidget().
| ref array<ref RemotePlayerStatDebug> m_PlayerDebugStats = new array<ref RemotePlayerStatDebug> |
Referenced by DebugDamage(), PluginBase::GatherPlayerInfo(), OnRPC(), PluginBase::SendDebug(), and UpdateWidgetsStats().
| ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS] |
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] |
Referenced by EnableWidgets(), InitWidgets(), and UpdateWidgetsStats().
| ref TextListboxWidget m_StatListWidgets[MAX_SIMULTANIOUS_PLAYERS] |
Referenced by InitWidgets(), PluginBase::InitWidgets(), UpdateStatsWidget(), and PluginBase::UpdateStatWidget().
| enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS = 10 |
Referenced by EnableWidgets(), InitWidgets(), and UpdateWidgetsStats().