Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_InventoryUIInfo.c
Go to the documentation of this file.
3{
4 [Attribute("0", desc: "Set the icon visible in inventory hint.")]
5 protected bool m_bShowIconInInventory;
6
7 [Attribute("0 0 0 1")]
8 protected ref Color m_IconColor;
9
10 [Attribute(desc: "HintsArray")]
11 protected ref array<ref SCR_InventoryItemHintUIInfo> m_aItemHints;
12
13 //------------------------------------------------------------------------------------------------
16 {
17 return GetName();
18 }
19
20 //------------------------------------------------------------------------------------------------
23 {
24 return GetDescription();
25 }
26
27 //------------------------------------------------------------------------------------------------
29 {
31 }
32
33 //------------------------------------------------------------------------------------------------
35 {
36 return Color.FromInt(m_IconColor.PackToInt());
37 }
38
39 //------------------------------------------------------------------------------------------------
40 void GetItemHintArray(notnull out array<SCR_InventoryItemHintUIInfo> uiInfoArray)
41 {
42 uiInfoArray.Clear();
43
44 foreach(SCR_InventoryItemHintUIInfo itemHint : m_aItemHints)
45 {
46 uiInfoArray.Insert(itemHint);
47 }
48 }
49}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition Color.c:13
void GetItemHintArray(notnull out array< SCR_InventoryItemHintUIInfo > uiInfoArray)
string GetInventoryItemName(InventoryItemComponent item)
Function to override to get custom inventory name.
ref array< ref SCR_InventoryItemHintUIInfo > m_aItemHints
string GetInventoryItemDescription(InventoryItemComponent item)
Function to override to get custom inventory description.
UIInfo - allows to define UI elements.
Definition UIInfo.c:14
SCR_FieldOfViewSettings Attribute