|
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 |
|
◆ IconsContainer()
◆ AddItem()
32 {
34 {
36 }
37 }
ref map< int, ref Icon > m_EntitiesMap
Definition IconsContainer.c:3
Перекрестные ссылки m_EntitiesMap.
◆ ContainsEntity()
◆ GetIcon()
◆ GetIconByIndex()
◆ GetItemCount()
◆ Refresh()
◆ RemoveItem() [1/2]
52 {
54 {
56 if(
icon.GetObject() )
58 else
59 {
63 else
65 }
66 }
67 }
Перекрестные ссылки m_EntitiesMap.
◆ RemoveItem() [2/2]
◆ UnfocusAll()
10 {
12 {
14 {
15 Get(
i ).GetMainWidget().FindAnyWidget(
"Cursor" +
j ).Show(
false );
16 }
17 }
18
19
21 {
23 }
24 }
const int ITEMS_IN_ROW
Definition Attachments.c:1
override float Get()
Definition PlayerStatBase.c:137
@ Count
Definition RandomGeneratorSyncManager.c:8
Перекрестные ссылки Count, Get(), ITEMS_IN_ROW и m_EntitiesMap.
◆ UpdateItemsTemperature()
void UpdateItemsTemperature |
( |
| ) |
|
|
inlineprotected |
◆ m_EntitiesMap
Объявления и описания членов класса находятся в файле: