|
| override void | HandlerAttached (Widget w) |
| |
| void | SCR_InventoryStorageVestUI (BaseInventoryStorageComponent storage, LoadoutAreaType slotID=null, SCR_InventoryMenuUI menuManager=null, int iPage=0, array< BaseInventoryStorageComponent > aTraverseStorage=null) |
| |
| void | ~SCR_InventoryStorageVestUI () |
| |
| SCR_EAnalyticalItemSlotType | GetAnalyticalItemSlotType () |
| |
| void | Init () |
| |
| void | InitPaging () |
| |
| bool | IsArsenal () |
| |
| void | SetPagingActive (bool active) |
| |
| override bool | OnFocus (Widget w, int x, int y) |
| |
| override bool | OnFocusLost (Widget w, int x, int y) |
| |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| |
| bool | OnDrop (SCR_InventorySlotUI slot) |
| |
| void | SetRowsAndColumns () |
| |
| BaseInventoryStorageComponent | GetCurrentNavigationStorage () |
| |
| bool | IsTraversalAllowed () |
| |
| void | Traverse (BaseInventoryStorageComponent storage) |
| |
| void | Back (int traverseStorageIndex) |
| |
| void | Home () |
| |
| float | GetTotalResources (notnull SCR_ResourceConsumer resourceContainer) |
| |
| float | GetMaxResources (notnull SCR_ResourceConsumer resourceContainer) |
| |
| void | GetTraverseStorage (out notnull array< BaseInventoryStorageComponent > aTraverseStorage) |
| |
| void | Action_ChangePage (SCR_SpinBoxPagingComponent pSpinBox, int page) |
| |
| void | Action_PrevPage () |
| |
| void | Action_NextPage () |
| |
| bool | IsStorageEnabled () |
| |
| bool | IsStorageSelected () |
| |
| bool | GetLastShownPage () |
| |
| int | GetPageCount () |
| |
| BaseInventoryStorageComponent | GetStorage () |
| |
| EquipedWeaponStorageComponent | GetWeaponStorage () |
| |
| string | GetStorageName () |
| |
| SCR_InventorySlotUI | GetSelectedSlot () |
| |
| SCR_InventorySlotUI | GetPrevSelectedSlot () |
| |
| void | Show (bool bShow) |
| |
| void | ToggleShow () |
| |
| SCR_InventorySlotUI | GetFocusedSlot () |
| |
| SCR_InventorySlotUI | GetLastFocusedSlot () |
| |
| Widget | GetStorageGrid () |
| |
| Widget | GetRootWidget () |
| |
| SCR_InventoryMenuUI | GetInventoryMenuHandler () |
| |
| SCR_InventoryStorageManagerComponent | GetInventoryManager () |
| |
| LoadoutAreaType | GetSlotAreaType () |
| |
| void | GetUISlots (out array< SCR_InventorySlotUI > outArray) |
| |
| array< SCR_InventorySlotUI > | GetUISlots () |
| |
| void | RemoveSlotUI (SCR_InventorySlotUI pSlot) |
| |
| void | RefreshSlot (int index) |
| |
| void | RefreshResources () |
| |
| void | Refresh () |
| |
| void | UpdateSlotUI (ResourceName item) |
| |
| void | ReserveAndSetSlot (int iIndex,) |
| |
| void | UpdateTotalWeight (float totalWeight, Color fontColor=Color.Gray25) |
| |
| float | GetTotalRoundedUpWeight (BaseInventoryStorageComponent storage) |
| |
| void | UpdateVolumePercentage (float percentage, bool previewOnly=false) |
| |
| float | GetOccupiedVolumePercentage (BaseInventoryStorageComponent storage, float occupiedSpace=0) |
| |
| float | GetOccupiedVolume (BaseInventoryStorageComponent storage) |
| |
| float | GetMaxVolumeCapacity (BaseInventoryStorageComponent storage) |
| |
| void | SetStorageAsHighlighted (bool isVisible, EInvInsertFailReason reason=EInvInsertFailReason.OK) |
| |
| bool | IsStorageHighlighted () |
| |
| InventoryItemComponent | GetItemComponentFromEntity (IEntity pEntity) |
| |
| void | GetSlots (out notnull array< SCR_InventorySlotUI > outSlots) |
| |
| void | ShowItemDetails (string sName, string sDescription, string sWeight) |
| |
| void | SetLastFocusedSlot (SCR_InventorySlotUI pSlot) |
| | memorize the last focused slot ( in case we leaving the actual UI storage and we want to select this slot again when we are back )
|
| |
| void | SetSlotFocused (SCR_InventorySlotUI pSlotUI=null, bool bSelected=true) |
| |
| void | SetSlotSelected (SCR_InventorySlotUI pSlot=null, bool bSelected=true) |
| |
| void | ShowContainerBorder (bool bShow) |
| |
| void | ActivateStorageButton (bool active) |
| |
| int | GetFocusedSlotId () |
| |
| int | GetSlotId (SCR_InventorySlotUI slot) |
| |
| int | GetSlotIdForItem (ResourceName itemName) |
| |
| void | DimSlots (bool bDim) |
| |
| override void | HandlerDeattached (Widget w) |
| |
| Widget | GetButtonWidget () |
| |
| ButtonWidget | GetLastCloseTraverseButton () |
| |
| bool | IsWarningOverlayVisible () |
| |
| void | SCR_InventoryStorageBaseUI (BaseInventoryStorageComponent storage, LoadoutAreaType slotID=null, SCR_InventoryMenuUI menuManager=null, int iPage=0, array< BaseInventoryStorageComponent > aTraverseStorage=null) |
| |
| void | ~SCR_InventoryStorageBaseUI () |
| |
|
| static ScriptInvokerVoid | GetOnArsenalEnter () |
| |
| static ref map< SCR_ArsenalInventorySlotUI, IEntity > | ARSENAL_SLOT_STORAGES = new map<SCR_ArsenalInventorySlotUI, IEntity>() |
| |
| const float | STORAGE_NON_HIGHLIGHTED_OPACITY = 0.35 |
| |
| const string | ARSENAL_TITLE_LAYOUT = "{E668FD2152D06CF9}UI/layouts/Menus/Inventory/ArsenalInventoryTraverseTitlePanel.layout" |
| |
| const string | SUPPLY_TITLE_LAYOUT = "{4CAAD8087F93ABE6}UI/layouts/Menus/Inventory/SupplyInventoryTraverseTitlePanel.layout" |
| |
| const string | GENERIC_CONTAINER_PREFAB = "{9F0C54A3740F7FC9}Prefabs/Props/Military/SupplyBox/SupplyPortableContainers/SupplyPortableContainer_01/SupplyContainerGeneric.et" |
| |
| const string | STORAGE_TITLE_LAYOUT = "{1E788C30AF7F76E9}UI/layouts/Menus/Inventory/InventoryTraverseTitlePanel.layout" |
| |
| const string | SLOT_LAYOUT_1x1_EMPTY = "{B11F8BE49DFB62A2}UI/layouts/Menus/Inventory/Inventory20Slot_1x1_empty.layout" |
| |
| void | SetSlotAreaType (LoadoutAreaType eSlotType) |
| |
| Widget | CreateEmptySlotUI (int iRow, int iCol) |
| |
| SCR_InventorySlotUI | CreateSlotUI (InventoryItemComponent pComponent, SCR_ItemAttributeCollection pAttributes=null) |
| |
| void | DeleteSlots () |
| |
| void | RefreshConsumer () |
| |
| void | UpdateStoredResources (float totalResources, float maxResources) |
| |
| void | UpdateAvailableResources (float totalResources, bool hasStored) |
| |
| void | UpdateContainerResources (notnull Widget targetTitle, notnull BaseInventoryStorageComponent targetStorage) |
| |
| void | UpdateOwnedSlots (notnull array< IEntity > pItemsInStorage) |
| |
| void | UpdateOwnedSlots (notnull array< BaseInventoryStorageComponent > pItemsInStorage) |
| |
| int | FindItem (notnull InventoryItemComponent pInvItem) |
| |
| int | FindItemByName (string sItemName, int iActualIndex) |
| |
| string | GetNameFromComponent (notnull InventoryItemComponent pComponent) |
| |
| int | CreateSlots () |
| |
| int | GetIndexFromCoords (int x, int y) |
| |
| void | SortSlots () |
| |
| void | FillWithEmptySlots () |
| |
| void | ShowPage (int iPage, out int slotToFocus=-1) |
| |
| void | ClearTraverseTitles () |
| |
| void | FillItemsFromStorage (BaseInventoryStorageComponent storage) |
| |
| void | FindAndSetTitleName (Widget targetTitle, BaseInventoryStorageComponent targetStorage) |
| |
| void | GetAllItems (out notnull array< IEntity > pItemsInStorage, BaseInventoryStorageComponent pStorage=null) |
| |
| void | GetAllItemsFromDepth (out notnull array< IEntity > pItemsInStorages, int iDepth=3, int iDepthDefault=0) |
| |
| bool | CheckIfAnyItemInStorageHasResources (array< IEntity > items) |
| |
| void | CreateEmptyLayout (bool recreate=false) |
| |
| void | DestroyEmptySlots () |
| | Destroys all empty slots which were created by this handler.
|
| |
| void | SetPreviewItem () |
| |
| const int | SLOT_LAYOUT_WIDTH = 66 |
| |
| static const ref Color | m_WeightDefault = new Color(0.73, 0.73, 0.73, 1) |
| |
| static ref ScriptInvokerVoid | s_OnArsenalEnter |
| |
UI Script Inventory Storage UI Layout.