|
| override void | HandlerAttached (Widget w) |
| |
| override bool | IsTraversalAllowed () |
| |
| override void | Refresh () |
| |
| void | SCR_InventoryAttachmentStorageUI (BaseInventoryStorageComponent storage, LoadoutAreaType slotID=null, SCR_InventoryMenuUI menuManager=null, int iPage=0, array< BaseInventoryStorageComponent > aTraverseStorage=null, InventorySearchPredicate searchPredicate=null) |
| |
| void | Init () |
| |
| void | InitPaging () |
| |
| 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 () |
| |
| 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 | 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 () |
| |
|
| override void | SetPreviewItem () |
| |
| override int | CreateSlots () |
| |
| int | GetRelevantItems (out notnull array< IEntity > items) |
| |
| void | ActivateCloseStorageButton () |
| |
| void | CloseStorage () |
| |
| 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 | 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 () |
| |