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

◆ LoadAttachmentCategoriesIcon()

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

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

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

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

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