DayZ 1.24
Loading...
Searching...
No Matches
AttachmentsWrapper.c
Go to the documentation of this file.
2{
6
8 {
9 m_AttachmentsFalseHeader = m_RootWidget.FindAnyWidget("attachmets_wrapper_header_spacer");
10 m_AttachmentsFalseHeaderText = RichTextWidget.Cast(m_AttachmentsFalseHeader.FindAnyWidget("TextWidget0"));
11 m_AttachmentsFalseHeader.Show(false);
12 }
13
18
19 override bool Select()
20 {
21 return m_Attachments.Select();
22 }
23
24 override bool SelectItem()
25 {
27 }
28
29 override bool Combine()
30 {
31 return m_Attachments.Combine();
32 }
33
34 override bool TransferItemToVicinity()
35 {
36 if (CanDrop())
38 return false;
39 }
40
41 override bool TransferItem()
42 {
43 if (CanTakeToInventory())
45 return false;
46 }
47
48 override bool InspectItem()
49 {
51 }
52
53 override bool SplitItem()
54 {
55 return m_Attachments.SplitItem();
56 }
57
58 override bool EquipItem()
59 {
60 return m_Attachments.EquipItem();
61 }
62
63 override bool CanEquip()
64 {
65 return m_Attachments.CanEquip();
66 }
67
68 override bool CanCombine()
69 {
71 }
72
73 override bool CanCombineAmmo()
74 {
76 }
77
78 override bool IsDisplayable()
79 {
80 return !IsEmpty();
81 }
82
83 override bool IsItemActive()
84 {
86 }
87
89 {
91 }
92
93 override void UpdateInterval()
94 {
95 super.UpdateInterval();
97 }
98
100 {
102 }
103
105 {
106 m_AttachmentsFalseHeader.Show(show);
107 }
108
113
118}
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]
bool CanCombine()
bool TransferItem()
bool CanCombineAmmo()
bool EquipItem()
bool TransferItemToVicinity()
bool SplitItem()
void UpdateInterval()
bool IsItemWithQuantityActive()
Definition Attachments.c:61
bool IsItemActive()
Definition Attachments.c:53
int GetFocusedSlot()
bool CanEquip()
bool InspectItem()
bool Combine()
bool SelectItem()
bool Select()
void SetFalseAttachmentsHeaderText(string text)
override bool InspectItem()
void ShowFalseAttachmentsHeader(bool show)
override bool EquipItem()
TextWidget GetFalseHeaderTextWidget()
override bool Select()
void AttachmentsWrapper(LayoutHolder parent)
override bool IsItemWithQuantityActive()
override void UpdateInterval()
override bool CanCombineAmmo()
override bool TransferItem()
override bool CanEquip()
override bool IsDisplayable()
RichTextWidget m_AttachmentsFalseHeaderText
override bool TransferItemToVicinity()
override bool SplitItem()
override bool CanCombine()
override bool IsItemActive()
override bool Combine()
override bool SelectItem()
void SetParent(Attachments atts)
override bool IsEmpty()