|
void | AttachmentCategoriesSlotsContainer (LayoutHolder parent, int index) |
|
override bool | IsDisplayable () |
|
override void | SetLayoutName () |
|
SlotsContainer | GetSlotsContainer () |
|
override EntityAI | GetFocusedItem () |
|
int | GetParentID () |
|
int | GetFocusedID () |
|
void | ExpandCollapseContainer (bool expand) |
|
override bool | SelectItem () |
|
override bool | Select () |
|
override bool | Combine () |
|
override bool | TransferItemToVicinity () |
|
override bool | TransferItem () |
|
override bool | SplitItem () |
|
override bool | EquipItem () |
|
override bool | CanCombine () |
|
override bool | CanCombineAmmo () |
|
override bool | IsEmpty () |
|
override bool | IsItemActive () |
|
override bool | IsItemWithQuantityActive () |
|
string | GetAttachmentCategory (string config_path_attachment_categories, int i) |
|
string | GetIconName (string config_path_attachment_categories, string attachment_category) |
|
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 () |
|
◆ AttachmentCategoriesSlotsContainer()
6 {
10
12 {
13
14
15
18
21
24
27 }
28 }
const int ITEMS_IN_ROW
Definition Attachments.c:1
Widget m_Parent
Definition SizeToChild.c:92
ref SlotsContainer m_ItemsCont
Definition AttachmentCategoriesSlotsContainer.c:3
Definition SlotsContainer.c:2
Перекрестные ссылки WidgetEventHandler::GetInstance(), ITEMS_IN_ROW, m_ItemsCont и m_Parent.
◆ CanCombine()
108 {
109 return false;
110 }
◆ CanCombineAmmo()
113 {
114 return false;
115 }
◆ Combine()
83 {
84 return false;
85 }
◆ EquipItem()
103 {
104 return false;
105 }
◆ ExpandCollapseContainer()
void ExpandCollapseContainer |
( |
bool | expand | ) |
|
|
inlineprivate |
◆ GetAttachmentCategory()
string GetAttachmentCategory |
( |
string | config_path_attachment_categories, |
|
|
int | i ) |
|
inlineprivate |
133 {
137 }
proto native CGame GetGame()
Перекрестные ссылки GetGame().
◆ GetFocusedID()
62 {
63 return m_ItemsCont.GetFocusedSlotsIcon().GetMainWidget().GetUserID();
64 }
Перекрестные ссылки m_ItemsCont.
◆ GetFocusedItem()
◆ GetIconName()
string GetIconName |
( |
string | config_path_attachment_categories, |
|
|
string | attachment_category ) |
|
inlineprivate |
◆ GetParentID()
◆ GetSlotsContainer()
◆ IsDisplayable()
31 {
32 for(
int i = 0;
i < m_Body.Count();
i++)
33 {
35 if(
c &&
c.IsDisplayable())
36 return true;
37 }
38 return false;
39 }
◆ IsEmpty()
118 {
119 return false;
120 }
◆ IsItemActive()
123 {
124 return false;
125 }
◆ IsItemWithQuantityActive()
128 {
129 return false;
130 }
◆ Select()
78 {
79 return false;
80 }
◆ SelectItem()
73 {
74 return false;
75 }
◆ SetLayoutName()
◆ SplitItem()
98 {
99 return false;
100 }
◆ TransferItem()
93 {
94 return false;
95 }
◆ TransferItemToVicinity()
88 {
89 return false;
90 }
◆ m_ItemsCont
Объявления и описания членов класса находятся в файле: