class PluginRemotePlayerDebugClientSource
PluginRemotePlayerDebugClient › PluginBase
All members, including inherited
Constants 1
const int MAX_SIMULTANIOUS_PLAYERS = 10Members 8
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_DebugTypeMethods 12
override void OnInit()References InitWidgets()
override void OnUpdate(float delta_time)void InitWidgets()Referenced by OnInit()
void EnableWidgets(bool enable)References Widget.Show(), Widget.Show(), m_RootWidget
Show 2 more
, m_RootWidgetDamage, and MAX_SIMULTANIOUS_PLAYERSReferenced by RequestPlayerInfo()
void UpdateWidgetsStats()Referenced by OnUpdate()
void UpdateDamageWidget(int index, PlayerBase player)References TextListboxWidget.AddItem(), BaseListboxWidget.ClearItems(), map.Contains()
Show 13 more
, array.Count(), map.Get(), RemotePlayerDamageDebug.GetReversed(), DamageData.GetValueBlood(), DamageData.GetValueGlobal(), DamageData.GetValueShock(), TextListboxWidget.SetItem(), Widget.Show(), float.ToString(), float.ToString(), float.ToString(), m_DamageListWidgets, and m_PlayerDebugDamageReferenced by UpdateWidgetsStats()
void UpdateDistanceWidget(int index, PlayerBase other_player)References vector.Distance(), CGame.GetCurrentCameraPosition(), Object.GetPosition()
Show 3 more
, TextWidget.SetText(), float.ToString(), and m_DistanceWidgetReferenced by UpdateWidgetsStats()
void UpdateStatsWidget(int index, RemotePlayerStatDebug rpd)Referenced by UpdateWidgetsStats()
void RequestPlayerInfo(PlayerBase player, int type)References EnableWidgets(), Man.GetIdentity(), new ScriptRPC()
Show 3 more
, ScriptRPC.Send(), Serializer.Write(), and m_DebugTypevoid MergeDamage(array<ref RemotePlayerDamageDebug> delta)Referenced by OnRPC()
void DebugDamage(PlayerBase player)References map.Count(), array.Count(), Debug()
Show 11 more
, Debug(), RemotePlayerDamageDebug.Debug(), map.Get(), array.Get(), map.GetElement(), map.GetKey(), GetPlayer(), PrintString(), Class.ToString(), m_PlayerDebugDamage, and m_PlayerDebugStatsvoid OnRPC(ParamsReadContext ctx)Referenced by PlayerBase.OnRPC()