DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
StaticGUIUtils.c
См. документацию.
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::IMAGESETGROUP_INVENTORY
static const int IMAGESETGROUP_INVENTORY
Определения
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.
Определения
StaticGUIUtils.c:7
StaticGUIUtils
Определения
StaticGUIUtils.c:2
Ishodniki
scripts
5_Mission
GUI
StaticGUIUtils.c
Создано системой
1.13.2