DayZ 1.24
Loading...
Searching...
No Matches
StaticGUIUtils.c
Go to the documentation of this file.
2{
3 static const int IMAGESETGROUP_INVENTORY = 0;
4
5
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 {
17 return "set:dayz_inventory image:" + icon_name;
18 }
19
20 }
21 return icon_name;
22 }
23}
static const int IMAGESETGROUP_INVENTORY
static string VerifyIconImageString(int imageset_group=IMAGESETGROUP_INVENTORY, string icon_name="")
Checks for improperly formated, legacy image names and corrects them to default format.