Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_InventoryUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_InventoryUIInfo
:
UIInfo
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
//------------------------------------------------------------------------------------------------
15
string
GetInventoryItemName
(
InventoryItemComponent
item)
16
{
17
return
GetName
();
18
}
19
20
//------------------------------------------------------------------------------------------------
22
string
GetInventoryItemDescription
(
InventoryItemComponent
item)
23
{
24
return
GetDescription();
25
}
26
27
//------------------------------------------------------------------------------------------------
28
bool
IsIconVisible
()
29
{
30
return
m_bShowIconInInventory
;
31
}
32
33
//------------------------------------------------------------------------------------------------
34
Color
GetIconColor
()
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
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
GetName
string GetName()
Definition
SCR_NotificationSenderComponent.c:15
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
Color
Definition
Color.c:13
InventoryItemComponent
Definition
InventoryItemComponent.c:13
SCR_InventoryUIInfo
Definition
SCR_InventoryUIInfo.c:3
SCR_InventoryUIInfo::IsIconVisible
bool IsIconVisible()
Definition
SCR_InventoryUIInfo.c:28
SCR_InventoryUIInfo::GetItemHintArray
void GetItemHintArray(notnull out array< SCR_InventoryItemHintUIInfo > uiInfoArray)
Definition
SCR_InventoryUIInfo.c:40
SCR_InventoryUIInfo::m_IconColor
ref Color m_IconColor
Definition
SCR_InventoryUIInfo.c:8
SCR_InventoryUIInfo::GetIconColor
Color GetIconColor()
Definition
SCR_InventoryUIInfo.c:34
SCR_InventoryUIInfo::GetInventoryItemName
string GetInventoryItemName(InventoryItemComponent item)
Function to override to get custom inventory name.
Definition
SCR_InventoryUIInfo.c:15
SCR_InventoryUIInfo::m_bShowIconInInventory
bool m_bShowIconInInventory
Definition
SCR_InventoryUIInfo.c:5
SCR_InventoryUIInfo::m_aItemHints
ref array< ref SCR_InventoryItemHintUIInfo > m_aItemHints
Definition
SCR_InventoryUIInfo.c:11
SCR_InventoryUIInfo::GetInventoryItemDescription
string GetInventoryItemDescription(InventoryItemComponent item)
Function to override to get custom inventory description.
Definition
SCR_InventoryUIInfo.c:22
UIInfo
UIInfo - allows to define UI elements.
Definition
UIInfo.c:14
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
UI
Inventory
SCR_InventoryUIInfo.c
Generated by
1.17.0