4 protected Widget m_AttachmentsFalseHeader;
9 m_AttachmentsFalseHeader =
m_RootWidget.FindAnyWidget(
"attachmets_wrapper_header_spacer" );
10 m_AttachmentsFalseHeaderText =
RichTextWidget.Cast(m_AttachmentsFalseHeader.FindAnyWidget(
"TextWidget0"));
11 m_AttachmentsFalseHeader.Show(
false );
19 override bool Select()
21 return m_Attachments.Select();
24 override bool SelectItem()
26 return m_Attachments.SelectItem();
29 override bool Combine()
31 return m_Attachments.Combine();
34 override bool TransferItemToVicinity()
38 return m_Attachments.TransferItemToVicinity();
43 override bool TransferItem()
45 if (CanTakeToInventory())
47 return m_Attachments.TransferItem();
52 override bool InspectItem()
54 return m_Attachments.InspectItem();
57 override bool SplitItem()
59 return m_Attachments.SplitItem();
62 override bool EquipItem()
64 return m_Attachments.EquipItem();
67 override bool CanEquip()
69 return m_Attachments.CanEquip();
72 override bool CanCombine()
74 return m_Attachments.CanCombine();
77 override bool CanCombineAmmo()
79 return m_Attachments.CanCombineAmmo();
82 override bool IsDisplayable()
87 override bool IsItemActive()
89 return m_Attachments.IsItemActive();
92 override bool IsItemWithQuantityActive()
94 return m_Attachments.IsItemWithQuantityActive();
97 override void UpdateInterval()
99 super.UpdateInterval();
100 m_Attachments.UpdateInterval();
105 return m_Attachments.GetFocusedSlot();
108 void ShowFalseAttachmentsHeader(
bool show)
110 m_AttachmentsFalseHeader.Show(show);
113 void SetFalseAttachmentsHeaderText(
string text)
115 m_AttachmentsFalseHeaderText.SetText(text);
120 return m_AttachmentsFalseHeaderText;