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

Protected Member Functions

override void InitPaging ()
void HighlightSlot (int iSlotIndex, bool bHighlight)
void SelectSlot (float fWheelValue)
void SelectSlot (int iSlotIndex)
void FilterOutSlots ()
void UpdateOwnedSlots (notnull array< IEntity > pItemsInStorage)
void GetAllItems (out notnull array< IEntity > pItemsInStorage, BaseInventoryStorageComponent pStorage=null)
int CreateSlots ()
void SortSlots ()
void CheckIfQuickSlotActionsAvailable (IEntity player)
override void FillWithEmptySlots ()
void SetItem (InventoryItemComponent pInventoryComponent, int iSlotIndex)
SCR_InventorySlotQuickSlotUI CreateSlotUI (InventoryItemComponent pComponent, int iSlotIndex, SCR_ItemAttributeCollection pAttributes=null)
override void SetRowsAndColumns ()
bool UseItemInSlot (bool isClosingQuickSlots)
void UseSelectedQuickslot ()
void SetInitialQuickSlot ()
void SetQuickBarClosed ()
override void Init ()
void RefreshList ()
void RefreshQuickSlots ()
override void RefreshSlot (int index)
int GetActualSlotsUsedCount ()
void InitMatrix ()
ResourceName GetGamepadIcons ()
InventoryItemComponent GetCurrentSlotItem ()
void HighlightLastSelectedSlot ()
int GetLastSelectedSlotIndex ()
override void HandlerAttached (Widget w)
void SCR_InventoryStorageQuickSlotsUI (BaseInventoryStorageComponent storage, LoadoutAreaType slotID=null, SCR_InventoryMenuUI menuManager=null, int iPage=0, array< BaseInventoryStorageComponent > aTraverseStorage=null)

Protected Attributes

SCR_InventorySlotUI m_pLastSelectedSlot
ResourceName m_sGamepadIcons = "{F7FD1672FECA05E8}UI/Textures/Icons/icons_gamepad_64.imageset"

Static Protected Attributes

static int s_iLastSelectedSlotIndex
static int s_iInitSelectedSlotIndex
static bool s_bQuickBarClosed
static const float s_fEnabledOpacity = 1
static const float s_fDisabledOpacity = 0.35

Detailed Description

UI Script Inventory slots for the Quick Bar ( Item/Weapon switching )

Definition at line 6 of file SCR_InventoryStorageQuickSlotsUI.c.

Constructor & Destructor Documentation

◆ SCR_InventoryStorageQuickSlotsUI()

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

Definition at line 575 of file SCR_InventoryStorageQuickSlotsUI.c.

Member Function Documentation

◆ CheckIfQuickSlotActionsAvailable()

void SCR_InventoryStorageQuickSlotsUI::CheckIfQuickSlotActionsAvailable ( IEntity player)
inlineprotected

Definition at line 230 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ CreateSlots()

int SCR_InventoryStorageQuickSlotsUI::CreateSlots ( )
inlineprotected

Definition at line 182 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ CreateSlotUI()

SCR_InventorySlotQuickSlotUI SCR_InventoryStorageQuickSlotsUI::CreateSlotUI ( InventoryItemComponent pComponent,
int iSlotIndex,
SCR_ItemAttributeCollection pAttributes = null )
inlineprotected

Definition at line 335 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ FillWithEmptySlots()

override void SCR_InventoryStorageQuickSlotsUI::FillWithEmptySlots ( )
inlineprotected

Definition at line 277 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ FilterOutSlots()

void SCR_InventoryStorageQuickSlotsUI::FilterOutSlots ( )
inlineprotected

Definition at line 111 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ GetActualSlotsUsedCount()

int SCR_InventoryStorageQuickSlotsUI::GetActualSlotsUsedCount ( )
inlineprotected

Definition at line 483 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ GetAllItems()

void SCR_InventoryStorageQuickSlotsUI::GetAllItems ( out notnull array< IEntity > pItemsInStorage,
BaseInventoryStorageComponent pStorage = null )
inlineprotected

Definition at line 153 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ GetCurrentSlotItem()

InventoryItemComponent SCR_InventoryStorageQuickSlotsUI::GetCurrentSlotItem ( )
inlineprotected

Definition at line 544 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ GetGamepadIcons()

ResourceName SCR_InventoryStorageQuickSlotsUI::GetGamepadIcons ( )
inlineprotected

Definition at line 539 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ GetLastSelectedSlotIndex()

int SCR_InventoryStorageQuickSlotsUI::GetLastSelectedSlotIndex ( )
inlineprotected

Definition at line 560 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ HandlerAttached()

override void SCR_InventoryStorageQuickSlotsUI::HandlerAttached ( Widget w)
inlineprotected

Definition at line 568 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ HighlightLastSelectedSlot()

void SCR_InventoryStorageQuickSlotsUI::HighlightLastSelectedSlot ( )
inlineprotected

Definition at line 554 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ HighlightSlot()

void SCR_InventoryStorageQuickSlotsUI::HighlightSlot ( int iSlotIndex,
bool bHighlight )
inlineprotected

Definition at line 25 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ Init()

override void SCR_InventoryStorageQuickSlotsUI::Init ( )
inlineprotected

Definition at line 442 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ InitMatrix()

void SCR_InventoryStorageQuickSlotsUI::InitMatrix ( )
inlineprotected

Definition at line 515 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ InitPaging()

override void SCR_InventoryStorageQuickSlotsUI::InitPaging ( )
inlineprotected

Definition at line 21 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ RefreshList()

void SCR_InventoryStorageQuickSlotsUI::RefreshList ( )
inlineprotected

Definition at line 449 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ RefreshQuickSlots()

void SCR_InventoryStorageQuickSlotsUI::RefreshQuickSlots ( )
inlineprotected

Definition at line 456 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ RefreshSlot()

override void SCR_InventoryStorageQuickSlotsUI::RefreshSlot ( int index)
inlineprotected

Definition at line 464 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SelectSlot() [1/2]

void SCR_InventoryStorageQuickSlotsUI::SelectSlot ( float fWheelValue)
inlineprotected

Definition at line 47 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SelectSlot() [2/2]

void SCR_InventoryStorageQuickSlotsUI::SelectSlot ( int iSlotIndex)
inlineprotected

Definition at line 99 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SetInitialQuickSlot()

void SCR_InventoryStorageQuickSlotsUI::SetInitialQuickSlot ( )
inlineprotected

Definition at line 412 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SetItem()

void SCR_InventoryStorageQuickSlotsUI::SetItem ( InventoryItemComponent pInventoryComponent,
int iSlotIndex )
inlineprotected

Definition at line 328 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SetQuickBarClosed()

void SCR_InventoryStorageQuickSlotsUI::SetQuickBarClosed ( )
inlineprotected

Definition at line 436 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SetRowsAndColumns()

override void SCR_InventoryStorageQuickSlotsUI::SetRowsAndColumns ( )
inlineprotected

Definition at line 341 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ SortSlots()

void SCR_InventoryStorageQuickSlotsUI::SortSlots ( )
inlineprotected

Definition at line 193 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ UpdateOwnedSlots()

void SCR_InventoryStorageQuickSlotsUI::UpdateOwnedSlots ( notnull array< IEntity > pItemsInStorage)
inlineprotected

Definition at line 122 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ UseItemInSlot()

bool SCR_InventoryStorageQuickSlotsUI::UseItemInSlot ( bool isClosingQuickSlots)
inlineprotected

Definition at line 348 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ UseSelectedQuickslot()

void SCR_InventoryStorageQuickSlotsUI::UseSelectedQuickslot ( )
inlineprotected

Definition at line 377 of file SCR_InventoryStorageQuickSlotsUI.c.

Member Data Documentation

◆ m_pLastSelectedSlot

SCR_InventorySlotUI SCR_InventoryStorageQuickSlotsUI::m_pLastSelectedSlot
protected

Definition at line 8 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ m_sGamepadIcons

ResourceName SCR_InventoryStorageQuickSlotsUI::m_sGamepadIcons = "{F7FD1672FECA05E8}UI/Textures/Icons/icons_gamepad_64.imageset"
protected

Definition at line 16 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ s_bQuickBarClosed

bool SCR_InventoryStorageQuickSlotsUI::s_bQuickBarClosed
staticprotected

Definition at line 11 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ s_fDisabledOpacity

const float SCR_InventoryStorageQuickSlotsUI::s_fDisabledOpacity = 0.35
staticprotected

Definition at line 13 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ s_fEnabledOpacity

const float SCR_InventoryStorageQuickSlotsUI::s_fEnabledOpacity = 1
staticprotected

Definition at line 12 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ s_iInitSelectedSlotIndex

int SCR_InventoryStorageQuickSlotsUI::s_iInitSelectedSlotIndex
staticprotected

Definition at line 10 of file SCR_InventoryStorageQuickSlotsUI.c.

◆ s_iLastSelectedSlotIndex

int SCR_InventoryStorageQuickSlotsUI::s_iLastSelectedSlotIndex
staticprotected

Definition at line 9 of file SCR_InventoryStorageQuickSlotsUI.c.


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