141 if (
w.GetName() ==
"ButtonAgentActivate")
149 else if (
w.GetName() ==
"ButtonAgentDeactivate")
156 else if (
w.GetName() ==
"ResetAgents")
173 man.RPCSingleParam(
ERPCs.DEV_AGENT_GROW,
p1,
true,
man.GetIdentity());
180 man.RPCSingleParam(
ERPCs.DEV_RPC_AGENT_RESET,
p1,
true,
man.GetIdentity());
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
ref map< Widget, ref DebugAgentData > m_AgentWidgetData
void HudDebugWinCharAgents(Widget widget_root)
void ~HudDebugWinCharAgents()
ref array< ref Widget > m_AgentWidgets
void AddAgent(string title, string value, int id)
void DebugGrowAgentsRequest(int agent_id, bool should_grow)
class DebugAgentData m_WgtAgents
void DebugRemoveAgentsRequest()
PluginBase GetPlugin(typename plugin_type)
void DebugAgentData(string name, int id)
bool OnClick(Widget w, int x, int y, int button)
void FitWindowByContent(TextListboxWidget wgt)
void SetUpdate(bool state)
proto native CGame GetGame()