Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
huddebugwincharagents.c File Reference

Go to the source code of this file.

Data Structures

class  DebugAgentData

Functions

void ~HudDebugWinCharAgents ()
void AddAgent (string title, string value, int id, float temporaryResistance)
void ClearAgents ()
void DebugGrowAgentsRequest (int agent_id, bool should_grow)
void DebugRemoveAgentsRequest ()
void FitWindow ()
override int GetType ()
override void Hide ()
void HudDebugWinCharAgents (Widget widget_root)
bool OnClick (Widget w, int x, int y, int button)
void SetAgents ()
override void SetUpdate (bool state)
override void Show ()
override void Update ()

Variables

ref map< Widget, ref DebugAgentDatam_AgentWidgetData = new map<Widget, ref DebugAgentData>
ref array< ref Widgetm_AgentWidgets = new array<ref Widget>
class DebugAgentData m_WgtAgents
AutoHeightSpacer WgtModifiersContentPanelScript

Function Documentation

◆ ~HudDebugWinCharAgents()

void ~HudDebugWinCharAgents ( )
private

Definition at line 50 of file huddebugwincharagents.c.

References HudDebugWinBase::SetUpdate().

◆ AddAgent()

void AddAgent ( string title,
string value,
int id,
float temporaryResistance )
private

◆ ClearAgents()

void ClearAgents ( )
private

Definition at line 216 of file huddebugwincharagents.c.

References m_AgentWidgetData, and m_AgentWidgets.

Referenced by SetAgents().

◆ DebugGrowAgentsRequest()

void DebugGrowAgentsRequest ( int agent_id,
bool should_grow )
private

Definition at line 170 of file huddebugwincharagents.c.

References g_Game.

Referenced by OnClick().

◆ DebugRemoveAgentsRequest()

void DebugRemoveAgentsRequest ( )
private

Definition at line 182 of file huddebugwincharagents.c.

References g_Game.

Referenced by OnClick().

◆ FitWindow()

void FitWindow ( )
private

Definition at line 228 of file huddebugwincharagents.c.

References HudDebugWinBase::FitWindowByContent(), and m_WgtAgents.

◆ GetType()

override int GetType ( )
private

Definition at line 58 of file huddebugwincharagents.c.

References HudDebug().

◆ Hide()

override void Hide ( )
private

Definition at line 114 of file huddebugwincharagents.c.

References HudDebugWinBase::SetUpdate().

◆ HudDebugWinCharAgents()

void HudDebugWinCharAgents ( Widget widget_root)
private

Definition at line 39 of file huddebugwincharagents.c.

References m_WgtAgents, m_WgtRoot, and WgtModifiersContentPanelScript.

Referenced by Init().

◆ OnClick()

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

◆ SetAgents()

void SetAgents ( )
private

Definition at line 123 of file huddebugwincharagents.c.

References AddAgent(), ClearAgents(), GetPlugin(), and SyncedValueAgent().

Referenced by Update().

◆ SetUpdate()

override void SetUpdate ( bool state)
private

Definition at line 66 of file huddebugwincharagents.c.

References g_Game, GetPlugin(), and HudDebugWinBase::SetRPCSent().

◆ Show()

override void Show ( )
private

Definition at line 105 of file huddebugwincharagents.c.

References HudDebugWinBase::SetUpdate().

Variable Documentation

◆ m_AgentWidgetData

ref map<Widget, ref DebugAgentData> m_AgentWidgetData = new map<Widget, ref DebugAgentData>
protected

Definition at line 33 of file huddebugwincharagents.c.

Referenced by AddAgent(), ClearAgents(), and OnClick().

◆ m_AgentWidgets

ref array<ref Widget> m_AgentWidgets = new array<ref Widget>
protected

Definition at line 32 of file huddebugwincharagents.c.

Referenced by AddAgent(), and ClearAgents().

◆ m_WgtAgents

class DebugAgentData m_WgtAgents

◆ WgtModifiersContentPanelScript

AutoHeightSpacer WgtModifiersContentPanelScript
private

Definition at line 35 of file huddebugwincharagents.c.

Referenced by AddAgent(), and HudDebugWinCharAgents().