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

Protected Member Functions

void ShowInfoWidget (bool bShow)
void Show (float fDelay=0.0, Widget w=null, bool forceShow=false)
void SetIcon (ResourceName iconPath, Color color=null)
void ShowIcon (bool isVisible)
void Hide (float fDelay=1.0)
void Move (float x, float y)
void SetName (string sName)
void SetDescription (string sDescr)
void SetItemHints (InventoryItemComponent item, array< SCR_InventoryItemHintUIInfo > itemHintArray, SCR_InventorySlotUI focusedSlot)
void SetItemHints (InventoryItemComponent item, bool deleteSlots=true)
void SetWeight (string sWeight)
void SetWeight (float fWeight)
void CreateIdentityUI (SCR_IdentityInventoryItemComponent identityItemComponent)
override void HandlerAttached (Widget w)
void Destroy ()
Widget GetInfoWidget ()
void SCR_InventoryItemInfoUI ()
void ~SCR_InventoryItemInfoUI ()

Protected Attributes

Widget m_infoWidget
VerticalLayoutWidget m_wHintWidget
TextWidget m_wTextName
TextWidget m_wTextDescription
TextWidget m_wTextWeight
ImageWidget m_wItemIcon
SCR_SlotUIComponent m_pFrameSlotUI
Widget m_wWidgetUnderCursor
bool m_bForceShow
ResourceName m_sAmmoTypeConfig = "{8D3E102893955B15}Configs/Inventory/ItemHints/MagazineAmmoType.conf"
ref SCR_AmmoTypeInfoConfig m_AmmoTypeConf
const string m_sHintLayout = "{9996B50BE8DFED5F}UI/layouts/Menus/Inventory/InventoryItemHintElement.layout"
const string m_sIdentityItemLayout = "{9168128FD3D1FBC2}UI/layouts/Menus/Inventory/InventoryIdentityItem.layout"
const string m_sIdentityWidgetHolderName = "IdentityHolder"

Detailed Description

UI Script Inventory Slot UI Layout

Definition at line 6 of file SCR_InventoryItemInfoUI.c.

Constructor & Destructor Documentation

◆ SCR_InventoryItemInfoUI()

void SCR_InventoryItemInfoUI::SCR_InventoryItemInfoUI ( )
inlineprotected

Definition at line 339 of file SCR_InventoryItemInfoUI.c.

◆ ~SCR_InventoryItemInfoUI()

void SCR_InventoryItemInfoUI::~SCR_InventoryItemInfoUI ( )
inlineprotected

Definition at line 344 of file SCR_InventoryItemInfoUI.c.

Member Function Documentation

◆ CreateIdentityUI()

void SCR_InventoryItemInfoUI::CreateIdentityUI ( SCR_IdentityInventoryItemComponent identityItemComponent)
inlineprotected

Creates the identity UI when hovering over the identity item in the player inventory

Parameters
[in]identityItemComponentIdentity component of the linked character

Definition at line 257 of file SCR_InventoryItemInfoUI.c.

◆ Destroy()

void SCR_InventoryItemInfoUI::Destroy ( )
inlineprotected

Definition at line 318 of file SCR_InventoryItemInfoUI.c.

◆ GetInfoWidget()

Widget SCR_InventoryItemInfoUI::GetInfoWidget ( )
inlineprotected

Definition at line 330 of file SCR_InventoryItemInfoUI.c.

◆ HandlerAttached()

override void SCR_InventoryItemInfoUI::HandlerAttached ( Widget w)
inlineprotected

Definition at line 299 of file SCR_InventoryItemInfoUI.c.

◆ Hide()

void SCR_InventoryItemInfoUI::Hide ( float fDelay = 1.0)
inlineprotected

Definition at line 76 of file SCR_InventoryItemInfoUI.c.

◆ Move()

void SCR_InventoryItemInfoUI::Move ( float x,
float y )
inlineprotected

Definition at line 94 of file SCR_InventoryItemInfoUI.c.

◆ SetDescription()

void SCR_InventoryItemInfoUI::SetDescription ( string sDescr)
inlineprotected

Definition at line 109 of file SCR_InventoryItemInfoUI.c.

◆ SetIcon()

void SCR_InventoryItemInfoUI::SetIcon ( ResourceName iconPath,
Color color = null )
inlineprotected

Definition at line 59 of file SCR_InventoryItemInfoUI.c.

◆ SetItemHints() [1/2]

void SCR_InventoryItemInfoUI::SetItemHints ( InventoryItemComponent item,
array< SCR_InventoryItemHintUIInfo > itemHintArray,
SCR_InventorySlotUI focusedSlot )
inlineprotected

Definition at line 125 of file SCR_InventoryItemInfoUI.c.

◆ SetItemHints() [2/2]

void SCR_InventoryItemInfoUI::SetItemHints ( InventoryItemComponent item,
bool deleteSlots = true )
inlineprotected

Definition at line 156 of file SCR_InventoryItemInfoUI.c.

◆ SetName()

void SCR_InventoryItemInfoUI::SetName ( string sName)
inlineprotected

Definition at line 103 of file SCR_InventoryItemInfoUI.c.

◆ SetWeight() [1/2]

void SCR_InventoryItemInfoUI::SetWeight ( float fWeight)
inlineprotected

Definition at line 246 of file SCR_InventoryItemInfoUI.c.

◆ SetWeight() [2/2]

void SCR_InventoryItemInfoUI::SetWeight ( string sWeight)
inlineprotected

Definition at line 230 of file SCR_InventoryItemInfoUI.c.

◆ Show()

void SCR_InventoryItemInfoUI::Show ( float fDelay = 0.0,
Widget w = null,
bool forceShow = false )
inlineprotected

Definition at line 45 of file SCR_InventoryItemInfoUI.c.

◆ ShowIcon()

void SCR_InventoryItemInfoUI::ShowIcon ( bool isVisible)
inlineprotected

Definition at line 70 of file SCR_InventoryItemInfoUI.c.

◆ ShowInfoWidget()

void SCR_InventoryItemInfoUI::ShowInfoWidget ( bool bShow)
inlineprotected

Definition at line 29 of file SCR_InventoryItemInfoUI.c.

Member Data Documentation

◆ m_AmmoTypeConf

ref SCR_AmmoTypeInfoConfig SCR_InventoryItemInfoUI::m_AmmoTypeConf
protected

Definition at line 19 of file SCR_InventoryItemInfoUI.c.

◆ m_bForceShow

bool SCR_InventoryItemInfoUI::m_bForceShow
protected

Definition at line 16 of file SCR_InventoryItemInfoUI.c.

◆ m_infoWidget

Widget SCR_InventoryItemInfoUI::m_infoWidget
protected

Definition at line 8 of file SCR_InventoryItemInfoUI.c.

◆ m_pFrameSlotUI

SCR_SlotUIComponent SCR_InventoryItemInfoUI::m_pFrameSlotUI
protected

Definition at line 14 of file SCR_InventoryItemInfoUI.c.

◆ m_sAmmoTypeConfig

ResourceName SCR_InventoryItemInfoUI::m_sAmmoTypeConfig = "{8D3E102893955B15}Configs/Inventory/ItemHints/MagazineAmmoType.conf"
protected

Definition at line 18 of file SCR_InventoryItemInfoUI.c.

◆ m_sHintLayout

const string SCR_InventoryItemInfoUI::m_sHintLayout = "{9996B50BE8DFED5F}UI/layouts/Menus/Inventory/InventoryItemHintElement.layout"
protected

Definition at line 21 of file SCR_InventoryItemInfoUI.c.

◆ m_sIdentityItemLayout

const string SCR_InventoryItemInfoUI::m_sIdentityItemLayout = "{9168128FD3D1FBC2}UI/layouts/Menus/Inventory/InventoryIdentityItem.layout"
protected

Definition at line 23 of file SCR_InventoryItemInfoUI.c.

◆ m_sIdentityWidgetHolderName

const string SCR_InventoryItemInfoUI::m_sIdentityWidgetHolderName = "IdentityHolder"
protected

Definition at line 24 of file SCR_InventoryItemInfoUI.c.

◆ m_wHintWidget

VerticalLayoutWidget SCR_InventoryItemInfoUI::m_wHintWidget
protected

Definition at line 9 of file SCR_InventoryItemInfoUI.c.

◆ m_wItemIcon

ImageWidget SCR_InventoryItemInfoUI::m_wItemIcon
protected

Definition at line 13 of file SCR_InventoryItemInfoUI.c.

◆ m_wTextDescription

TextWidget SCR_InventoryItemInfoUI::m_wTextDescription
protected

Definition at line 11 of file SCR_InventoryItemInfoUI.c.

◆ m_wTextName

TextWidget SCR_InventoryItemInfoUI::m_wTextName
protected

Definition at line 10 of file SCR_InventoryItemInfoUI.c.

◆ m_wTextWeight

TextWidget SCR_InventoryItemInfoUI::m_wTextWeight
protected

Definition at line 12 of file SCR_InventoryItemInfoUI.c.

◆ m_wWidgetUnderCursor

Widget SCR_InventoryItemInfoUI::m_wWidgetUnderCursor
protected

Definition at line 15 of file SCR_InventoryItemInfoUI.c.


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