Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pluginremoteplayerdebugclient.c File Reference

Go to the source code of this file.

Enumerations

enum  eRemoteDebugType { NONE, DAMAGE_ONLY, ALL }
 

Functions

override void OnInit ()
 
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 RemotePlayerStatDebugm_PlayerDebugStats = new array<ref RemotePlayerStatDebug>
 
ref map< PlayerBase, ref RemotePlayerDamageDebugm_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
 

Enumeration Type Documentation

◆ eRemoteDebugType

Enumerator
NONE 
DAMAGE_ONLY 
ALL 

Definition at line 1 of file pluginremoteplayerdebugclient.c.

Function Documentation

◆ DebugDamage()

void DebugDamage ( PlayerBase  player)

Definition at line 198 of file pluginremoteplayerdebugclient.c.

◆ EnableWidgets()

void EnableWidgets ( bool  enable)

Definition at line 47 of file pluginremoteplayerdebugclient.c.

◆ InitWidgets()

void InitWidgets ( )

Definition at line 35 of file pluginremoteplayerdebugclient.c.

◆ MergeDamage()

void MergeDamage ( array< ref RemotePlayerDamageDebug delta)

Definition at line 168 of file pluginremoteplayerdebugclient.c.

◆ OnInit()

override void OnInit ( )

Definition at line 21 of file pluginremoteplayerdebugclient.c.

◆ OnRPC()

void OnRPC ( ParamsReadContext  ctx)

Definition at line 226 of file pluginremoteplayerdebugclient.c.

◆ OnUpdate()

override void OnUpdate ( float  delta_time)

Definition at line 28 of file pluginremoteplayerdebugclient.c.

◆ RequestPlayerInfo()

void RequestPlayerInfo ( PlayerBase  player,
int  type 
)

Definition at line 148 of file pluginremoteplayerdebugclient.c.

◆ UpdateDamageWidget()

void UpdateDamageWidget ( int  index,
PlayerBase  player 
)

Definition at line 96 of file pluginremoteplayerdebugclient.c.

◆ UpdateDistanceWidget()

void UpdateDistanceWidget ( int  index,
PlayerBase  other_player 
)

Definition at line 127 of file pluginremoteplayerdebugclient.c.

◆ UpdateStatsWidget()

void UpdateStatsWidget ( int  index,
RemotePlayerStatDebug  rpd 
)

Definition at line 133 of file pluginremoteplayerdebugclient.c.

◆ UpdateWidgetsStats()

void UpdateWidgetsStats ( )

Definition at line 56 of file pluginremoteplayerdebugclient.c.

Variable Documentation

◆ m_DamageListWidgets

ref TextListboxWidget m_DamageListWidgets[MAX_SIMULTANIOUS_PLAYERS]

Definition at line 17 of file pluginremoteplayerdebugclient.c.

◆ m_DebugType

eRemoteDebugType m_DebugType

Definition at line 19 of file pluginremoteplayerdebugclient.c.

◆ m_DistanceWidget

ref TextWidget m_DistanceWidget[MAX_SIMULTANIOUS_PLAYERS]

Definition at line 18 of file pluginremoteplayerdebugclient.c.

◆ m_PlayerDebugDamage

ref map<PlayerBase, ref RemotePlayerDamageDebug> m_PlayerDebugDamage = new map<PlayerBase,ref RemotePlayerDamageDebug>

Definition at line 12 of file pluginremoteplayerdebugclient.c.

◆ m_PlayerDebugStats

ref array<ref RemotePlayerStatDebug> m_PlayerDebugStats = new array<ref RemotePlayerStatDebug>

Definition at line 11 of file pluginremoteplayerdebugclient.c.

◆ m_RootWidget

ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]

Definition at line 14 of file pluginremoteplayerdebugclient.c.

◆ m_RootWidgetDamage

ref Widget m_RootWidgetDamage[MAX_SIMULTANIOUS_PLAYERS]

Definition at line 15 of file pluginremoteplayerdebugclient.c.

◆ m_StatListWidgets

ref TextListboxWidget m_StatListWidgets[MAX_SIMULTANIOUS_PLAYERS]

Definition at line 16 of file pluginremoteplayerdebugclient.c.

◆ MAX_SIMULTANIOUS_PLAYERS

enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS = 10