|
override void | SetLayoutName () |
|
override void | SetHeader (Header header) |
|
override Header | GetHeader () |
|
void | AttachmentsGroupContainer (LayoutHolder parent) |
|
override void | SetActive (bool active) |
|
override void | SetDefaultFocus (bool while_micromanagment_mode=false) |
|
SlotsIcon | GetSlotsIcon (int row, int column, bool include_invisible=true) |
|
int | GetRowCount (bool include_invisible=true) |
|
int | GetColumnCountForRow (int row, bool include_invisible=true) |
|
override void | SetNextActive () |
|
override void | SetPreviousActive (bool force=false) |
|
void | CargoContainer (LayoutHolder parent, bool is_attachment=false) |
|
void | ~CargoContainer () |
|
int | GetCargoIndex () |
|
void | AddedToCargoEx (EntityAI item, bool refresh=true) |
|
void | AddedToCargo (EntityAI item) |
|
void | RemovedFromCargo (EntityAI item) |
|
void | MovedInCargo (EntityAI item) |
|
void | SetLock (EntityAI item) |
|
void | ReleaseLock (EntityAI item) |
|
override void | SetLayoutName () |
|
void | SetEntity (EntityAI item, int cargo_index=0, bool immedUpdate=true) |
|
EntityAI | GetEntity () |
|
void | UpdateHeaderText () |
|
void | InitGridHeight () |
|
void | UpdateSize () |
|
float | GetIconSize () |
|
float | GetSpaceSize () |
|
int | GetCargoCapacity () |
|
int | GetMaxCargoCapacity () |
|
Icon | GetIcon (EntityAI item) |
|
Icon | GetIcon (int index) |
|
Icon | GetFocusedIcon () |
|
override float | GetFocusedContainerHeight (bool contents=false) |
|
override float | GetFocusedContainerYPos (bool contents=false) |
|
override float | GetFocusedContainerYScreenPos (bool contents=false) |
|
void | UpdateSelection () |
|
void | UpdateRowVisibility (int count) |
|
override void | Refresh () |
|
void | RefreshImpl () |
|
override void | UpdateInterval () |
|
Icon | InitIconEx (Icon icon, EntityAI item, int pos_x, int pos_y, bool refresh=true) |
|
Icon | InitIcon (Icon icon, EntityAI item, int pos_x, int pos_y) |
|
bool | HasItem (EntityAI item) |
|
override bool | TransferItemToVicinity () |
|
override void | SetDefaultFocus (bool while_micromanagment_mode=false) |
|
override void | SetLastFocus () |
|
override void | Unfocus () |
|
override void | UnfocusAll () |
|
override void | SetNextActive () |
|
override void | SetPreviousActive (bool force=false) |
|
override void | SetNextRightActive () |
|
override void | SetNextLeftActive () |
|
override EntityAI | GetFocusedItem () |
|
override void | SetLastActive () |
|
override void | SetActive (bool active) |
|
override bool | IsItemActive () |
|
override bool | IsItemWithQuantityActive () |
|
override bool | IsEmpty () |
|
int | GetRecipeCount (bool recipe_anywhere, ItemBase entity1, ItemBase entity2, PlayerBase player) |
|
override bool | CanCombineAmmo () |
|
override bool | TransferItem () |
|
override bool | SplitItem () |
|
override bool | EquipItem () |
|
override bool | SelectItem () |
|
override bool | Select () |
|
override bool | Combine () |
|
void | ShowFalseCargoHeader (bool show) |
|
void | SetAlternateFalseTextHeaderWidget (TextWidget w) |
|
void | SetAttachmentSlotID (int slotID) |
|
int | GetAttachmentSlotID () |
|
int | GetIconsCount () |
|
void | ClosableContainer (LayoutHolder parent, int sort=-1) |
|
override bool | IsDisplayable () |
|
override void | UpdateRadialIcon () |
|
void | SetOpenState (bool state) |
|
override Header | GetHeader () |
|
override void | Open () |
|
override void | Close () |
|
override void | SetLayoutName () |
|
override void | OnShow () |
|
override LayoutHolder | Get (int x) |
|
override void | Refresh () |
|
void | CloseButtonOnMouseButtonDown () |
|
override float | GetFocusedContainerHeight (bool contents=false) |
|
override float | GetFocusedContainerYPos (bool contents=false) |
|
override float | GetFocusedContainerYScreenPos (bool contents=false) |
|
void | MoveContainerUp (Widget cont) |
|
void | MoveContainerDown (Widget cont) |
|
override void | CheckHeaderDragability () |
|
◆ AttachmentsGroupContainer()
22 {
23 m_FocusedColumn = 0;
24 }
◆ GetColumnCountForRow()
68 {
71 {
73 }
74 else
75 {
77 }
78 return c.GetColumnCount();
79 }
Definition CargoContainer.c:3
◆ GetHeader()
17 {
19 }
ref Header m_Header
Definition AttachmentsGroupContainer.c:3
Перекрестные ссылки m_Header.
◆ GetRowCount()
56 {
58 {
59 return m_Body.Count();
60 }
61 else
62 {
63 return m_OpenedContainers.Count();
64 }
65 }
◆ GetSlotsIcon()
42 {
45 {
47 }
48 else
49 {
51 }
53 }
Definition SlotsContainer.c:2
◆ SetActive()
27 {
30 {
31 m_FocusedColumn = 0;
32 }
33 }
◆ SetDefaultFocus()
36 {
37 super.SetDefaultFocus();
38 m_FocusedColumn = 0;
39 }
◆ SetHeader()
◆ SetLayoutName()
◆ SetNextActive()
82 {
83 HideOwnedTooltip();
85
87 if (m_OpenedContainers.Count())
88 {
90 }
91
93 {
96 }
98 {
100 if (!IsLastContainerFocused())
101 {
102 m_ActiveIndex++;
103
104
105
107 next.SetActive(
true);
109 }
111 {
113 }
114 else
115 {
117 SetFirstActive();
118 }
119 }
120 }
void SetActive()
Definition TrapBase.c:419
Перекрестные ссылки GetParent() и SetActive().
◆ SetPreviousActive()
123 {
124 HideOwnedTooltip();
126
128 if (m_OpenedContainers.Count())
129 {
131 }
132
134 {
136 active.SetPreviousActive();
137 }
138
140 {
142 if (!IsFirstContainerFocused())
143 {
144 m_ActiveIndex--;
145
147 prev.SetActive(
true);
149 }
151 {
153 }
154 else
155 {
158 }
159 }
160 }
override void SetLastActive()
Definition CargoContainer.c:733
Перекрестные ссылки GetParent(), SetActive() и Container::SetLastActive().
◆ m_Header
Объявления и описания членов класса находятся в файле: