|
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 () |
|
const int | ROWS_NUMBER_XBOX = 5 |
|
CargoBase | m_Cargo |
|
int | m_CargoIndex = -1 |
|
int | m_FocusedItemPosition = -1 |
|
ref array< ref CargoContainerRow > | m_Rows |
|
ref array< ref Icon > | m_Icons |
|
ref map< EntityAI, ref Param3< ref Icon, int, int > > | m_ShowedItemPositions |
|
ref map< EntityAI, ref Param3< ref Icon, int, int > > | m_ShowedLockPositions |
|
float | m_IconSize |
|
float | m_SpaceSize |
|
bool | m_IsAttachment |
|
TextWidget | m_FalseHeaderTextWidget |
|
TextWidget | m_AlternateFalseHeaderTextWidget |
|
Widget | m_CargoHeader |
|
Widget | m_CargoContainer |
|
Widget | m_ItemsContainer |
|
ref SizeToChild | m_Resizer1 |
|
ref SizeToChild | m_Resizer2 |
|
ref Timer | m_ResizeTimer |
|
int | m_AttachmentSlotID = -1 |
|
ref ClosableHeader | m_ClosableHeader |
|
bool | m_LockCargo |
|
◆ HandsArea()
10 {
13
14 if ( m_ImmedUpdate )
15 m_MainWidget.Update();
16
19 RecomputeOpenedContainers();
20 }
Widget m_ParentWidget
Definition UiHintPanel.c:318
ScrollWidget m_Scroller
Definition HandsArea.c:3
ref HandsContainer m_HandsContainer
Definition HandsArea.c:4
ref SizeToChild m_HandsResizer
Definition HandsArea.c:5
Definition HandsContainer.c:2
Перекрестные ссылки m_HandsContainer, m_HandsResizer, m_ParentWidget и m_Scroller.
◆ DraggingOverHandsPanel()
119 {
121 {
122 return;
123 }
124
126
128 {
129 string name =
w.GetName();
130 name.Replace(
"PanelWidget",
"Render" );
132 }
133
135 {
137 }
138
140 {
141 return;
142 }
143
145 {
149 }
150 else
151 {
155 }
156 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
PlayerBase GetPlayer()
Definition ModifierBase.c:51
Definition ColorManager.c:2
static int GREEN_COLOR
Definition ColorManager.c:17
static ColorManager GetInstance()
Definition ColorManager.c:27
static int RED_COLOR
Definition ColorManager.c:16
Definition ItemManager.c:2
static ItemManager GetInstance()
Definition ItemManager.c:283
proto native CGame GetGame()
Перекрестные ссылки GetGame(), ColorManager::GetInstance(), ItemManager::GetInstance(), GetPlayer(), ColorManager::GREEN_COLOR, name и ColorManager::RED_COLOR.
◆ GetScrollWidget()
◆ IsCombineActive()
33 {
35
38 else
39 return false;
40 }
◆ IsSwapActive()
23 {
25
28 else
29 return false;
30 }
◆ OnHandsPanelDropReceived()
159 {
162 {
163 string name =
w.GetName();
164 name.Replace(
"PanelWidget",
"Render" );
166 }
167
169 {
171 }
172
174 {
175 return;
176 }
177
178 if( !
ipw.GetItem().GetInventory().CanRemoveEntity() )
179 return;
180
182 {
185
187 {
189 }
191 {
193 }
194 }
195 }
Definition InventoryItem.c:731
Definition PlayerBaseClient.c:2
Перекрестные ссылки GetGame(), GetPlayer() и name.
◆ OnShow()
◆ Refresh()
◆ SetLayoutName()
◆ SetParentWidget()
◆ SetSameLevelNextActive()
◆ SetSameLevelPreviousActive()
◆ UpdateInterval()
◆ UpdateSelectionIcons()
48 {
49 #ifdef PLATFORM_CONSOLE
50 ScrollToActiveContainer();
51 #endif
52 }
Используется в Refresh().
◆ m_HandsContainer
◆ m_HandsResizer
◆ m_Scroller
◆ m_ShouldChangeSize
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/5_Mission/GUI/InventoryNew/Areas/HandsArea.c