DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ LoadAttachmentCategoriesIcon()

void AttachmentCategoriesContainer::LoadAttachmentCategoriesIcon ( SlotsContainer items_cont,
string icon_name,
int slot_number )
inlineprotected

См. определение в файле AttachmentCategoriesContainer.c строка 159

160 {
161 SlotsIcon icon = items_cont.GetSlotIcon(slot_number);
162 ImageWidget image_widget = icon.GetGhostSlot();
163 image_widget.Show(true);
164 image_widget.LoadImageFile(0, StaticGUIUtils.VerifyIconImageString(StaticGUIUtils.IMAGESETGROUP_INVENTORY,icon_name)); //icon_name must be in format "set:<setname> image:<imagename>"
165 }
SlotsIcon GetSlotIcon(int index)
Определения SlotsContainer.c:207
ImageWidget GetGhostSlot()
Определения SlotsIconBase.c:205

Перекрестные ссылки SlotsIconBase::GetGhostSlot(), SlotsContainer::GetSlotIcon(), StaticGUIUtils::IMAGESETGROUP_INVENTORY и StaticGUIUtils::VerifyIconImageString().

Используется в InitGhostSlots().