44 if ( curr_index != 0 )
46 PluginDeveloper module_dev = PluginDeveloper.Cast(
GetPlugin(PluginDeveloper) );
84 int selected_index = 0;
92 if ( attachment != NULL && attachment.GetType() == item_name )
PluginBase GetPlugin(typename plugin_type)
proto native void ObjectDelete(Object obj)
proto native WorkspaceWidget GetWorkspace()
provides access to slot configuration
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
private XComboBoxWidget m_WgtComboBox
private ref TStringArray m_ComboItems
private TextWidget m_WgtSlotName
void UIPropertyAttachment(Widget root)
void SetPos(float x, float y)
void Show(EntityAI e, string slot_name, TStringArray att_items)
bool OnClick(Widget w, int x, int y, int button)
void ~UIPropertyAttachment()
void SetSize(float width, float height)
proto native CGame GetGame()
array< string > TStringArray