DayZ
1.24
Loading...
Searching...
No Matches
StaticGUIUtils.c
Go to the documentation of this file.
1
class
StaticGUIUtils
2
{
3
static
const
int
IMAGESETGROUP_INVENTORY
= 0;
4
5
7
static
string
VerifyIconImageString
(
int
imageset_group
=
IMAGESETGROUP_INVENTORY
,
string
icon_name
=
""
)
8
{
9
if
(
icon_name
==
""
)
10
return
"set:dayz_inventory image:missing"
;
11
12
if
(!
icon_name
.Contains(
"image:"
))
13
{
14
switch
(
imageset_group
)
15
{
16
case
IMAGESETGROUP_INVENTORY
:
17
return
"set:dayz_inventory image:"
+
icon_name
;
18
}
19
20
}
21
return
icon_name
;
22
}
23
}
Param3
Definition
EntityAI.c:95
StaticGUIUtils
Definition
StaticGUIUtils.c:2
StaticGUIUtils::IMAGESETGROUP_INVENTORY
static const int IMAGESETGROUP_INVENTORY
Definition
StaticGUIUtils.c:3
StaticGUIUtils::VerifyIconImageString
static string VerifyIconImageString(int imageset_group=IMAGESETGROUP_INVENTORY, string icon_name="")
Checks for improperly formated, legacy image names and corrects them to default format.
Definition
StaticGUIUtils.c:7
scripts
5_Mission
GUI
StaticGUIUtils.c
Generated by
1.10.0