Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс StaticGUIUtils

Закрытые статические члены

static string VerifyIconImageString (int imageset_group=IMAGESETGROUP_INVENTORY, string icon_name="")
 Checks for improperly formated, legacy image names and corrects them to default format.
 

Закрытые статические данные

static const int IMAGESETGROUP_INVENTORY = 0
 

Подробное описание

Методы

◆ VerifyIconImageString()

static string VerifyIconImageString ( int imageset_group = IMAGESETGROUP_INVENTORY,
string icon_name = "" )
inlinestaticprivate

Checks for improperly formated, legacy image names and corrects them to default format.

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 {
19 return "set:dayz_inventory image:" + icon_name;
20 }
21
22 }
23 return icon_name;
24 }
Definition EntityAI.c:95
static const int IMAGESETGROUP_INVENTORY
Definition StaticGUIUtils.c:3

Перекрестные ссылки IMAGESETGROUP_INVENTORY.

Используется в AttachmentCategoriesRow::Init(), Attachments::InitAttachmentGrid(), AttachmentCategoriesContainer::InitGhostSlots(), ZombieContainer::InitGhostSlots(), AttachmentCategoriesContainer::LoadAttachmentCategoriesIcon() и PlayerContainer::PlayerContainer().

Поля

◆ IMAGESETGROUP_INVENTORY


Объявления и описания членов класса находятся в файле: