Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
huddebug.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 ~HudDebug ()
void HideCrosshairVisibility ()
void HudDebug ()
override void Init (Widget hud_panel_widget)
bool IsInitialized ()
bool OnChange (Widget w, int x, int y, bool finished)
bool OnClick (Widget w, int x, int y, int button)
void PanelHide (int panel_type)
void PanelShow (int panel_type)
void RefreshByLocalProfile ()
void RefreshCrosshairVisibility ()
void SetPanelVisible (int panel_type, bool visible)
override void Update (float timeslice)

Variables

static const int HUD_WIN_CHAR_AGENTS = 3
static const int HUD_WIN_CHAR_DEBUG = 4
static const int HUD_WIN_CHAR_LEVELS = 5
static const int HUD_WIN_CHAR_MODIFIERS = 2
static const int HUD_WIN_CHAR_STATS = 1
static const int HUD_WIN_CHAR_STOMACH = 6
static const int HUD_WIN_HEALTH = 9
static const int HUD_WIN_HORTICULTURE = 10
static const int HUD_WIN_TEMPERATURE = 8
class HudDebugEventHandler extends ScriptedWidgetEventHandler HUD_WIN_UNDEFINED = 0
static const int HUD_WIN_VERSION = 7
Widget m_Crosshair
ref HudDebugEventHandler m_HudDebugHandler
ref array< ref HudDebugWinBasem_Panels
ref Timer m_TimerUpdate
Widget m_WgtRoot
ref HudDebugWinCharAgents m_WinCharAgents
ref HudDebugWinCharModifiers m_WinCharModifiers
ref HudDebugWinCharStats m_WinCharStats
ref HudDebugWinHealth m_WinHealth
ref HudDebugWinHorticulture m_WinHorticulture

Function Documentation

◆ ~HudDebug()

void ~HudDebug ( )

Definition at line 115 of file huddebug.c.

References m_TimerUpdate, and m_WgtRoot.

◆ HideCrosshairVisibility()

void HideCrosshairVisibility ( )

Definition at line 274 of file huddebug.c.

References GetPlugin(), and m_Crosshair.

◆ HudDebug()

◆ Init()

◆ IsInitialized()

bool IsInitialized ( )

Definition at line 314 of file huddebug.c.

References m_WgtRoot.

◆ OnChange()

bool OnChange ( Widget w,
int x,
int y,
bool finished )

Definition at line 363 of file huddebug.c.

References m_WinCharStats, x, and y.

◆ OnClick()

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

Definition at line 327 of file huddebug.c.

References m_WinCharAgents, m_WinCharModifiers, m_WinCharStats, m_WinHealth, m_WinHorticulture, x, and y.

◆ PanelHide()

void PanelHide ( int panel_type)

Definition at line 235 of file huddebug.c.

References HudDebugWinBase::GetType(), HudDebugWinBase::Hide(), and m_Panels.

Referenced by SetPanelVisible().

◆ PanelShow()

void PanelShow ( int panel_type)

Definition at line 219 of file huddebug.c.

References HudDebugWinBase::GetType(), m_Panels, and HudDebugWinBase::Show().

Referenced by SetPanelVisible().

◆ RefreshByLocalProfile()

void RefreshByLocalProfile ( )

Definition at line 292 of file huddebug.c.

References GetPlugin(), HudDebug(), and SetPanelVisible().

Referenced by Init().

◆ RefreshCrosshairVisibility()

void RefreshCrosshairVisibility ( )

Definition at line 251 of file huddebug.c.

References GetPlugin(), and m_Crosshair.

Referenced by Init().

◆ SetPanelVisible()

void SetPanelVisible ( int panel_type,
bool visible )

Definition at line 204 of file huddebug.c.

References PanelHide(), and PanelShow().

Referenced by RefreshByLocalProfile().

◆ Update()

override void Update ( float timeslice)

Definition at line 190 of file huddebug.c.

References m_Panels.

Variable Documentation

◆ HUD_WIN_CHAR_AGENTS

const int HUD_WIN_CHAR_AGENTS = 3
static

Definition at line 85 of file huddebug.c.

◆ HUD_WIN_CHAR_DEBUG

const int HUD_WIN_CHAR_DEBUG = 4
static

Definition at line 86 of file huddebug.c.

◆ HUD_WIN_CHAR_LEVELS

const int HUD_WIN_CHAR_LEVELS = 5
static

Definition at line 87 of file huddebug.c.

◆ HUD_WIN_CHAR_MODIFIERS

const int HUD_WIN_CHAR_MODIFIERS = 2
static

Definition at line 84 of file huddebug.c.

◆ HUD_WIN_CHAR_STATS

const int HUD_WIN_CHAR_STATS = 1
static

Definition at line 83 of file huddebug.c.

◆ HUD_WIN_CHAR_STOMACH

const int HUD_WIN_CHAR_STOMACH = 6
static

Definition at line 88 of file huddebug.c.

◆ HUD_WIN_HEALTH

const int HUD_WIN_HEALTH = 9
static

Definition at line 91 of file huddebug.c.

◆ HUD_WIN_HORTICULTURE

const int HUD_WIN_HORTICULTURE = 10
static

Definition at line 92 of file huddebug.c.

◆ HUD_WIN_TEMPERATURE

const int HUD_WIN_TEMPERATURE = 8
static

Definition at line 90 of file huddebug.c.

◆ HUD_WIN_UNDEFINED

class HudDebugEventHandler extends ScriptedWidgetEventHandler HUD_WIN_UNDEFINED = 0

◆ HUD_WIN_VERSION

const int HUD_WIN_VERSION = 7
static

Definition at line 89 of file huddebug.c.

◆ m_Crosshair

Widget m_Crosshair

Definition at line 95 of file huddebug.c.

Referenced by HideCrosshairVisibility(), Init(), and RefreshCrosshairVisibility().

◆ m_HudDebugHandler

ref HudDebugEventHandler m_HudDebugHandler

Definition at line 98 of file huddebug.c.

Referenced by Init().

◆ m_Panels

ref array<ref HudDebugWinBase> m_Panels

Definition at line 96 of file huddebug.c.

◆ m_TimerUpdate

ref Timer m_TimerUpdate

Definition at line 97 of file huddebug.c.

◆ m_WgtRoot

◆ m_WinCharAgents

ref HudDebugWinCharAgents m_WinCharAgents

Definition at line 101 of file huddebug.c.

Referenced by Init(), and OnClick().

◆ m_WinCharModifiers

ref HudDebugWinCharModifiers m_WinCharModifiers

Definition at line 99 of file huddebug.c.

Referenced by Init(), and OnClick().

◆ m_WinCharStats

ref HudDebugWinCharStats m_WinCharStats

Definition at line 100 of file huddebug.c.

Referenced by Init(), OnChange(), and OnClick().

◆ m_WinHealth

ref HudDebugWinHealth m_WinHealth

Definition at line 102 of file huddebug.c.

Referenced by Init(), and OnClick().

◆ m_WinHorticulture

ref HudDebugWinHorticulture m_WinHorticulture

Definition at line 103 of file huddebug.c.

Referenced by Init(), and OnClick().