Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
staticguiutils.c
Go to the documentation of this file.
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}