57 return HudDebug.HUD_WIN_CHAR_MODIFIERS;
230 if (
w.GetName() ==
"TextModifierName")
246 m_WgtDetailedInfo =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/debug/day_z_hud_debug_modifier_detailed.layout");
258 if (
w.GetName() ==
"ButtonModifierActivate")
271 else if (
w.GetName() ==
"ButtonModifierDeactivate")
284 else if (
w.GetName() ==
"CheckBoxLock")
297 else if (
w.GetName() ==
"ResetModifiers")
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void HudDebugWinCharModifiers(Widget widget_root)
ref map< Widget, ref DebugModifierData > m_ModifierWidgetData
TextWidget m_WgtDetailedInfoText
class DebugModifierData m_WgtModifiersContent
void ~HudDebugWinCharModifiers()
PluginDeveloperSync m_PluginDeveloperSync
void RequestDetailedInfo(int id)
ref array< ref Widget > m_ModifierWidgets
void LockModifier(int id, bool state)
void DeactivateModifier(int modifier_id, bool triggerEvent=true)
void ActivateModifier(int modifier_id, bool triggerEvent=EActivationType.TRIGGER_EVENT_ON_ACTIVATION)
void AddModifier(ModifierBase modifier)
PluginBase GetPlugin(typename plugin_type)
void DebugModifierData(string name, int id)
bool OnClick(Widget w, int x, int y, int button)
PluginDeveloperSync m_PluginDeveloperSync
void SetUpdate(bool state)
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)