Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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 }
StaticGUIUtils
Definition: staticguiutils.c:1