144 m_StatValues.Get(
i).SetText(
name);
147 m_StatValues.Get(
i).SetText(
value.ToString());
149 if (!m_ChangingSlider)
172 Widget widget =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_hud_debug_stat.layout", m_WgtPanel);
176 m_StatWidgets.Insert(
widget);
185 m_SliderWidgets.Insert(
sw,
title);
198 m_StatWidgets.Clear();
211 if (
w.GetName() ==
"ResetStats")
229 m_ChangingSlider =
true;
235 string label =
player.m_PlayerStats.GetPCO().Get().Get(
i).GetLabel();
248 m_ChangingSlider =
false;
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
array< ref PlayerStatBase > Get()
PluginBase GetPlugin(typename plugin_type)
static string GetBloodTypeName(int bloodtype, out string type, out bool positive)
void RPCChangeStat(string stat, float value)
bool OnChange(Widget w, int x, int y, bool finished)
bool OnClick(Widget w, int x, int y, int button)
void ~HudDebugWinCharStats()
void AddValue(string title, string value, string value2)
void FitWindowByContent(TextListboxWidget wgt)
void SetUpdate(bool state)
TextListboxWidget m_WgtValues
void AddValue(string title, string value)
override void SetUpdate(bool state)
void HudDebugWinCharStats(Widget widget_root)
proto native CGame GetGame()
static proto float Round(float f)
Returns mathematical round of value.