39 m_RootWidget[
i] =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_debug_remoteinfo.layout");
139 for (
int i = 0;
i <
names.Count(); ++
i)
198 PrintString(
"-------------------------------------");
203 PrintString(
"-------------------------------------");
205 PrintString(
"-------------------------------------");
210 PrintString(
"------------Debug Damage Start--------------");
214 PrintString(
"-------------Debug Damage End-------------");
void OnRPC(ParamsReadContext ctx)
void UpdateDistanceWidget(int index, PlayerBase other_player)
ref TextWidget m_DistanceWidget[MAX_SIMULTANIOUS_PLAYERS]
eRemoteDebugType m_DebugType
ref map< PlayerBase, ref RemotePlayerDamageDebug > m_PlayerDebugDamage
void EnableWidgets(bool enable)
void DebugDamage(PlayerBase player)
ref TextListboxWidget m_StatListWidgets[MAX_SIMULTANIOUS_PLAYERS]
ref TextListboxWidget m_DamageListWidgets[MAX_SIMULTANIOUS_PLAYERS]
void UpdateStatsWidget(int index, RemotePlayerStatDebug rpd)
void UpdateDamageWidget(int index, PlayerBase player)
void RequestPlayerInfo(PlayerBase player, int type)
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]
void UpdateWidgetsStats()
ref array< ref RemotePlayerStatDebug > m_PlayerDebugStats
enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS
void MergeDamage(array< ref RemotePlayerDamageDebug > delta)
ref Widget m_RootWidgetDamage[MAX_SIMULTANIOUS_PLAYERS]
void RemotePlayerStatDebug(PlayerBase player)
Serialization general interface. Serializer API works with:
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native CGame GetGame()
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.