Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_InventoryStoragesListUI Class Reference
Inheritance diagram for SCR_InventoryStoragesListUI:
SCR_InventoryStorageBaseUI

Protected Member Functions

override SCR_EAnalyticalItemSlotType GetAnalyticalItemSlotType ()
SCR_InventorySlotUI GetUISlotBySlotID (ESlotID slotID)
SCR_InventorySlotUI FindItemSlot (InventoryItemComponent item)
override void InitPaging ()
void GetAllStorages ()
SCR_InventorySlotUI CreateStorageSlotUI (notnull InventoryItemComponent pItemComponent)
override int CreateSlots ()
override void SortSlots ()
bool CorrectSlotPositioning (inout int column, inout int row)
int GetSlotRow (notnull SCR_InventorySlotUI uiSlot, notnull InventoryItemComponent inventoryItemComp)
void FillWithEmptySlots ()
override bool IsTraversalAllowed ()
override void HandlerAttached (Widget w)
void RefreshList ()
void SCR_InventoryStoragesListUI (BaseInventoryStorageComponent storage, LoadoutAreaType slotID=null, SCR_InventoryMenuUI menuManager=null, int iPage=0, array< BaseInventoryStorageComponent > aTraverseStorage=null)
void ~SCR_InventoryStoragesListUI ()

Protected Attributes

ref array< SCR_UniversalInventoryStorageComponentm_UniStorages = new array<SCR_UniversalInventoryStorageComponent>()
ref array< IEntitym_Items = new array<IEntity>()
const ResourceName INVENTORY_CONFIG = "{024B56A4DE577001}Configs/Inventory/InventoryUI.conf"
ref SCR_InventoryConfig m_pInventoryUIConfig
const int MAX_ENTRIES_EACH_COLUMN = 12

Detailed Description

UI Script Inventory Storage UI Layout - Shows the storages slots on player ( backpack, ALICE, vest, etc )

Definition at line 6 of file SCR_InventoryStoragesListUI.c.

Constructor & Destructor Documentation

◆ SCR_InventoryStoragesListUI()

void SCR_InventoryStoragesListUI::SCR_InventoryStoragesListUI ( BaseInventoryStorageComponent storage,
LoadoutAreaType slotID = null,
SCR_InventoryMenuUI menuManager = null,
int iPage = 0,
array< BaseInventoryStorageComponent > aTraverseStorage = null )
inlineprotected

Definition at line 316 of file SCR_InventoryStoragesListUI.c.

◆ ~SCR_InventoryStoragesListUI()

void SCR_InventoryStoragesListUI::~SCR_InventoryStoragesListUI ( )
inlineprotected

Definition at line 356 of file SCR_InventoryStoragesListUI.c.

Member Function Documentation

◆ CorrectSlotPositioning()

bool SCR_InventoryStoragesListUI::CorrectSlotPositioning ( inout int column,
inout int row )
inlineprotected

Method used to verify and correct if provided position isnt within limits

Parameters
[in,out]column
[in,out]row
Returns
true when given position is within limits

Definition at line 177 of file SCR_InventoryStoragesListUI.c.

◆ CreateSlots()

override int SCR_InventoryStoragesListUI::CreateSlots ( )
inlineprotected

Definition at line 87 of file SCR_InventoryStoragesListUI.c.

◆ CreateStorageSlotUI()

SCR_InventorySlotUI SCR_InventoryStoragesListUI::CreateStorageSlotUI ( notnull InventoryItemComponent pItemComponent)
inlineprotected

Definition at line 65 of file SCR_InventoryStoragesListUI.c.

◆ FillWithEmptySlots()

void SCR_InventoryStoragesListUI::FillWithEmptySlots ( )
inlineprotected

Definition at line 218 of file SCR_InventoryStoragesListUI.c.

◆ FindItemSlot()

SCR_InventorySlotUI SCR_InventoryStoragesListUI::FindItemSlot ( InventoryItemComponent item)
inlineprotected

Definition at line 34 of file SCR_InventoryStoragesListUI.c.

◆ GetAllStorages()

void SCR_InventoryStoragesListUI::GetAllStorages ( )
inlineprotected

Definition at line 56 of file SCR_InventoryStoragesListUI.c.

◆ GetAnalyticalItemSlotType()

override SCR_EAnalyticalItemSlotType SCR_InventoryStoragesListUI::GetAnalyticalItemSlotType ( )
inlineprotected

Definition at line 21 of file SCR_InventoryStoragesListUI.c.

◆ GetSlotRow()

int SCR_InventoryStoragesListUI::GetSlotRow ( notnull SCR_InventorySlotUI uiSlot,
notnull InventoryItemComponent inventoryItemComp )
inlineprotected

Method used to extract information about the position of the slot in the ui slot list

Parameters
[in]inventoryItemCompof slotted entity
[in]uiSlot
Returns
row id that coresponds to the configuration of this slot

Definition at line 204 of file SCR_InventoryStoragesListUI.c.

◆ GetUISlotBySlotID()

SCR_InventorySlotUI SCR_InventoryStoragesListUI::GetUISlotBySlotID ( ESlotID slotID)
inlineprotected

Definition at line 28 of file SCR_InventoryStoragesListUI.c.

◆ HandlerAttached()

override void SCR_InventoryStoragesListUI::HandlerAttached ( Widget w)
inlineprotected

Definition at line 298 of file SCR_InventoryStoragesListUI.c.

◆ InitPaging()

override void SCR_InventoryStoragesListUI::InitPaging ( )
inlineprotected

Definition at line 50 of file SCR_InventoryStoragesListUI.c.

◆ IsTraversalAllowed()

override bool SCR_InventoryStoragesListUI::IsTraversalAllowed ( )
inlineprotected

Definition at line 281 of file SCR_InventoryStoragesListUI.c.

◆ RefreshList()

void SCR_InventoryStoragesListUI::RefreshList ( )
inlineprotected

Definition at line 309 of file SCR_InventoryStoragesListUI.c.

◆ SortSlots()

override void SCR_InventoryStoragesListUI::SortSlots ( )
inlineprotected

Definition at line 118 of file SCR_InventoryStoragesListUI.c.

Member Data Documentation

◆ INVENTORY_CONFIG

const ResourceName SCR_InventoryStoragesListUI::INVENTORY_CONFIG = "{024B56A4DE577001}Configs/Inventory/InventoryUI.conf"
protected

Definition at line 12 of file SCR_InventoryStoragesListUI.c.

◆ m_Items

ref array<IEntity> SCR_InventoryStoragesListUI::m_Items = new array<IEntity>()
protected

Definition at line 9 of file SCR_InventoryStoragesListUI.c.

◆ m_pInventoryUIConfig

ref SCR_InventoryConfig SCR_InventoryStoragesListUI::m_pInventoryUIConfig
protected

Definition at line 13 of file SCR_InventoryStoragesListUI.c.

◆ m_UniStorages

ref array<SCR_UniversalInventoryStorageComponent> SCR_InventoryStoragesListUI::m_UniStorages = new array<SCR_UniversalInventoryStorageComponent>()
protected

Definition at line 8 of file SCR_InventoryStoragesListUI.c.

◆ MAX_ENTRIES_EACH_COLUMN

const int SCR_InventoryStoragesListUI::MAX_ENTRIES_EACH_COLUMN = 12
protected

Definition at line 16 of file SCR_InventoryStoragesListUI.c.


The documentation for this class was generated from the following file: