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

Go to the source code of this file.

Data Structures

class  ScriptedWidgetEventHandler
 map: item x vector(index, width, height) More...
 

Functions

void PluginItemDiagnostic ()
 
void ~PluginItemDiagnostic ()
 
override void OnInit ()
 
bool OnMouseButtonDown (Widget w, int x, int y, int button)
 
bool OnMouseButtonUp (Widget w, int x, int y, int button)
 
void SetDragging (bool enable)
 
void OnDraggingStart ()
 
void OnDraggingEnd ()
 
bool OnClick (Widget w, int x, int y, int button)
 
void RegisterDebugItem (Object item, PlayerBase player)
 
Object GetWatchedItem (PlayerBase player)
 
bool IsActive ()
 
void OnScriptMenuOpened (bool opened)
 
void ShowWidgets (bool show)
 
void OnSelectAction (EntityAI ent, int actionId)
 
void ReleaseFocus ()
 
void ToggleDebugWindowEvent ()
 
void ClearWidgets ()
 
void Tick ()
 
void ClearProperties ()
 
void GeneratePropertiesObject (EntityAI item)
 
void SendRPC (Object item, PlayerBase player)
 
void StopWatchRequest (PlayerBase player)
 
void OnRPC (Object entity, ParamsReadContext ctx)
 
void FillServerFinalVars (int count, ParamsReadContext ctx, array< ref Param > params)
 
void InitializeWidgets ()
 
override void OnUpdate (float delta_time)
 
void DisplayAll (EntityAI item, array< ref Param > vars_server, array< ref Param > vars_client, string debug_text_server)
 
void FillAgentArray (ParamsReadContext ctx, int agents_count)
 
void UpdateAgentWidget ()
 
void UpdateNumericalVarsWidget (array< ref Param > vars_server, array< ref Param > vars_client)
 
void PrintOut ()
 
void GetLocalProperties (EntityAI entity, array< ref Param > properties, bool client=false)
 
int FillWithAgents (ItemBase item, array< ref Param > properties)
 

Variables

class PluginItemDiagnosticEventHandler extends ScriptedWidgetEventHandler m_Entity
 
ref Timer myTimer1
 
ref map< PlayerBase, Objectm_ObserversMap = new map<PlayerBase,Object>
 
ref array< stringm_Agents = new array<string>
 
ref map< string, floatm_Floats = new map<string,float>
 
ref map< string, floatm_VarsNumbersFinalServer = new map<string,float>
 
ref map< string, floatm_VarsFinalClient = new map<string,float>
 
ref array< ref Paramm_Properties = new array<ref Param>
 
bool m_IsActive = false
 
bool m_ScriptMenuOpened
 
string m_NoteClient
 
ref PluginItemDiagnosticEventHandler m_EventHandler
 
bool m_IsDragging
 
PluginConfigDebugProfile m_ConfigDebugProfile
 
Widget m_DebugRootWidget
 
Widget m_FrameWidget
 
TextListboxWidget m_DebugAgentListWidget
 
TextWidget m_DebugOutputServer
 
TextWidget m_DebugOutputClient
 
TextListboxWidget m_DebugFloatsProperListWidget
 
TextListboxWidget m_DebugClientVarsWidget
 
TextWidget m_ClassNameWidget
 
TextWidget m_DistanceWidget
 
ItemPreviewWidget m_ItemPreviewWidget
 
ButtonWidget m_DebugButtonWidget1
 
ButtonWidget m_DebugButtonWidget2
 
ButtonWidget m_DebugButtonWidget3
 
ButtonWidget m_DebugButtonWidget4
 
ButtonWidget m_CloseButton
 
Shape m_ItemLine
 
vector m_DraggingOffset
 

Function Documentation

◆ ClearProperties()

void ClearProperties ( )

Definition at line 302 of file pluginitemdiagnostic.c.

◆ ClearWidgets()

void ClearWidgets ( )

Definition at line 271 of file pluginitemdiagnostic.c.

◆ DisplayAll()

void DisplayAll ( EntityAI  item,
array< ref Param vars_server,
array< ref Param vars_client,
string  debug_text_server 
)

Definition at line 474 of file pluginitemdiagnostic.c.

◆ FillAgentArray()

void FillAgentArray ( ParamsReadContext  ctx,
int  agents_count 
)

Definition at line 497 of file pluginitemdiagnostic.c.

◆ FillServerFinalVars()

void FillServerFinalVars ( int  count,
ParamsReadContext  ctx,
array< ref Param params 
)

Definition at line 393 of file pluginitemdiagnostic.c.

◆ FillWithAgents()

int FillWithAgents ( ItemBase  item,
array< ref Param properties 
)

Definition at line 626 of file pluginitemdiagnostic.c.

◆ GeneratePropertiesObject()

void GeneratePropertiesObject ( EntityAI  item)

Definition at line 308 of file pluginitemdiagnostic.c.

◆ GetLocalProperties()

void GetLocalProperties ( EntityAI  entity,
array< ref Param properties,
bool  client = false 
)

Definition at line 550 of file pluginitemdiagnostic.c.

◆ GetWatchedItem()

Object GetWatchedItem ( PlayerBase  player)

Definition at line 204 of file pluginitemdiagnostic.c.

◆ InitializeWidgets()

void InitializeWidgets ( )

Definition at line 410 of file pluginitemdiagnostic.c.

◆ IsActive()

bool IsActive ( )

Definition at line 210 of file pluginitemdiagnostic.c.

◆ OnClick()

bool OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

Definition at line 171 of file pluginitemdiagnostic.c.

◆ OnDraggingEnd()

void OnDraggingEnd ( )

Definition at line 159 of file pluginitemdiagnostic.c.

◆ OnDraggingStart()

void OnDraggingStart ( )

Definition at line 149 of file pluginitemdiagnostic.c.

◆ OnInit()

override void OnInit ( )

Definition at line 102 of file pluginitemdiagnostic.c.

◆ OnMouseButtonDown()

bool OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)

Definition at line 117 of file pluginitemdiagnostic.c.

◆ OnMouseButtonUp()

bool OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)

Definition at line 133 of file pluginitemdiagnostic.c.

◆ OnRPC()

void OnRPC ( Object  entity,
ParamsReadContext  ctx 
)

Definition at line 336 of file pluginitemdiagnostic.c.

◆ OnScriptMenuOpened()

void OnScriptMenuOpened ( bool  opened)

Definition at line 215 of file pluginitemdiagnostic.c.

◆ OnSelectAction()

void OnSelectAction ( EntityAI  ent,
int  actionId 
)

Definition at line 230 of file pluginitemdiagnostic.c.

◆ OnUpdate()

override void OnUpdate ( float  delta_time)

Definition at line 437 of file pluginitemdiagnostic.c.

◆ PluginItemDiagnostic()

void PluginItemDiagnostic ( )

Definition at line 83 of file pluginitemdiagnostic.c.

◆ PrintOut()

void PrintOut ( )

Definition at line 541 of file pluginitemdiagnostic.c.

◆ RegisterDebugItem()

void RegisterDebugItem ( Object  item,
PlayerBase  player 
)

Definition at line 183 of file pluginitemdiagnostic.c.

◆ ReleaseFocus()

void ReleaseFocus ( )

Definition at line 236 of file pluginitemdiagnostic.c.

◆ SendRPC()

void SendRPC ( Object  item,
PlayerBase  player 
)

Definition at line 315 of file pluginitemdiagnostic.c.

◆ SetDragging()

void SetDragging ( bool  enable)

Definition at line 140 of file pluginitemdiagnostic.c.

◆ ShowWidgets()

void ShowWidgets ( bool  show)

Definition at line 221 of file pluginitemdiagnostic.c.

◆ StopWatchRequest()

void StopWatchRequest ( PlayerBase  player)

Definition at line 328 of file pluginitemdiagnostic.c.

◆ Tick()

void Tick ( )

Definition at line 281 of file pluginitemdiagnostic.c.

◆ ToggleDebugWindowEvent()

void ToggleDebugWindowEvent ( )

Definition at line 250 of file pluginitemdiagnostic.c.

◆ UpdateAgentWidget()

void UpdateAgentWidget ( )

Definition at line 511 of file pluginitemdiagnostic.c.

◆ UpdateNumericalVarsWidget()

void UpdateNumericalVarsWidget ( array< ref Param vars_server,
array< ref Param vars_client 
)

Definition at line 522 of file pluginitemdiagnostic.c.

◆ ~PluginItemDiagnostic()

Definition at line 92 of file pluginitemdiagnostic.c.

Variable Documentation

◆ m_Agents

ref array<string> m_Agents = new array<string>

Definition at line 48 of file pluginitemdiagnostic.c.

◆ m_ClassNameWidget

TextWidget m_ClassNameWidget

Definition at line 68 of file pluginitemdiagnostic.c.

◆ m_CloseButton

ButtonWidget m_CloseButton

Definition at line 77 of file pluginitemdiagnostic.c.

◆ m_ConfigDebugProfile

PluginConfigDebugProfile m_ConfigDebugProfile

Definition at line 58 of file pluginitemdiagnostic.c.

◆ m_DebugAgentListWidget

TextListboxWidget m_DebugAgentListWidget

Definition at line 63 of file pluginitemdiagnostic.c.

◆ m_DebugButtonWidget1

ButtonWidget m_DebugButtonWidget1

Definition at line 72 of file pluginitemdiagnostic.c.

◆ m_DebugButtonWidget2

ButtonWidget m_DebugButtonWidget2

Definition at line 73 of file pluginitemdiagnostic.c.

◆ m_DebugButtonWidget3

ButtonWidget m_DebugButtonWidget3

Definition at line 74 of file pluginitemdiagnostic.c.

◆ m_DebugButtonWidget4

ButtonWidget m_DebugButtonWidget4

Definition at line 75 of file pluginitemdiagnostic.c.

◆ m_DebugClientVarsWidget

TextListboxWidget m_DebugClientVarsWidget

Definition at line 67 of file pluginitemdiagnostic.c.

◆ m_DebugFloatsProperListWidget

TextListboxWidget m_DebugFloatsProperListWidget

Definition at line 66 of file pluginitemdiagnostic.c.

◆ m_DebugOutputClient

TextWidget m_DebugOutputClient

Definition at line 65 of file pluginitemdiagnostic.c.

◆ m_DebugOutputServer

TextWidget m_DebugOutputServer

Definition at line 64 of file pluginitemdiagnostic.c.

◆ m_DebugRootWidget

Widget m_DebugRootWidget

Definition at line 60 of file pluginitemdiagnostic.c.

◆ m_DistanceWidget

TextWidget m_DistanceWidget

Definition at line 69 of file pluginitemdiagnostic.c.

◆ m_DraggingOffset

vector m_DraggingOffset

Definition at line 80 of file pluginitemdiagnostic.c.

◆ m_Entity

class PluginItemDiagnosticEventHandler extends ScriptedWidgetEventHandler m_Entity

◆ m_EventHandler

ref PluginItemDiagnosticEventHandler m_EventHandler

Definition at line 56 of file pluginitemdiagnostic.c.

◆ m_Floats

ref map<string,float> m_Floats = new map<string,float>

Definition at line 49 of file pluginitemdiagnostic.c.

◆ m_FrameWidget

Widget m_FrameWidget

Definition at line 61 of file pluginitemdiagnostic.c.

◆ m_IsActive

bool m_IsActive = false

Definition at line 53 of file pluginitemdiagnostic.c.

◆ m_IsDragging

bool m_IsDragging

Definition at line 57 of file pluginitemdiagnostic.c.

◆ m_ItemLine

Shape m_ItemLine

Definition at line 79 of file pluginitemdiagnostic.c.

◆ m_ItemPreviewWidget

ItemPreviewWidget m_ItemPreviewWidget

Definition at line 70 of file pluginitemdiagnostic.c.

◆ m_NoteClient

string m_NoteClient

Definition at line 55 of file pluginitemdiagnostic.c.

◆ m_ObserversMap

ref map<PlayerBase,Object> m_ObserversMap = new map<PlayerBase,Object>

Definition at line 47 of file pluginitemdiagnostic.c.

◆ m_Properties

ref array<ref Param> m_Properties = new array<ref Param>

Definition at line 52 of file pluginitemdiagnostic.c.

◆ m_ScriptMenuOpened

bool m_ScriptMenuOpened

Definition at line 54 of file pluginitemdiagnostic.c.

◆ m_VarsFinalClient

ref map<string,float> m_VarsFinalClient = new map<string,float>

Definition at line 51 of file pluginitemdiagnostic.c.

◆ m_VarsNumbersFinalServer

ref map<string,float> m_VarsNumbersFinalServer = new map<string,float>

Definition at line 50 of file pluginitemdiagnostic.c.

◆ myTimer1

ref Timer myTimer1

Definition at line 46 of file pluginitemdiagnostic.c.