25 m_ItemsCont.GetSlotIcon( k ).GetMainWidget().SetUserID( k );
26 m_ItemsCont.GetSlotIcon( k ).GetPanelWidget().SetUserID( k );
32 for(
int i = 0; i < m_Body.Count(); i++)
35 if( c && c.IsDisplayable())
53 return m_ItemsCont.GetFocusedSlotsIcon().GetRender().GetItem();
63 return m_ItemsCont.GetFocusedSlotsIcon().GetMainWidget().GetUserID();
68 m_ItemsCont.GetFocusedSlotsIcon().GetRadialIcon().Show( expand );
69 m_ItemsCont.GetFocusedSlotsIcon().GetRadialIconClosed().Show( !expand );
134 string attachment_category;
136 return attachment_category;
139 string GetIconName(
string config_path_attachment_categories,
string attachment_category )
141 string icon_path = config_path_attachment_categories+
" " + attachment_category +
" icon";
SlotsContainer GetSlotsContainer()
override bool TransferItem()
override bool IsDisplayable()
override EntityAI GetFocusedItem()
override bool EquipItem()
override bool CanCombineAmmo()
override bool IsItemWithQuantityActive()
override bool SplitItem()
override void SetLayoutName()
string GetAttachmentCategory(string config_path_attachment_categories, int i)
void AttachmentCategoriesSlotsContainer(LayoutHolder parent, int index)
override bool IsItemActive()
string GetIconName(string config_path_attachment_categories, string attachment_category)
ref SlotsContainer m_ItemsCont
override bool SelectItem()
void ExpandCollapseContainer(bool expand)
override bool TransferItemToVicinity()
override bool CanCombine()
proto bool ConfigGetChildName(string path, int index, out string name)
Get name of subclass in config class on path.
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
proto native CGame GetGame()