Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
{
11
return
"set:dayz_inventory image:missing"
;
12
}
13
14
if
( !icon_name.Contains(
"image:"
) )
15
{
16
switch
(imageset_group)
17
{
18
case
IMAGESETGROUP_INVENTORY
:
19
return
"set:dayz_inventory image:"
+ icon_name;
20
}
21
22
}
23
return
icon_name;
24
}
25
}
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
Games
Dayz
scripts
5_mission
gui
staticguiutils.c
Generated by
1.17.0