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

◆ ToggleContainer()

void ZombieContainer::ToggleContainer ( Widget w)
inlineprotected

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

347 {
348 EntityAI item;
349 SlotsIcon icon;
351 w.GetUserData(icon);
352 if (icon)
353 item = icon.GetEntity();
354
355 if (item)
356 c = ClosableContainer.Cast(m_ShowedItems.Get(item));
357 else
358 c = ClosableContainer.Cast(icon.GetContainer());
359
360
361 if (c)
362 c.Toggle();
363
364 RecomputeOpenedContainers();
365 }
class LogManager EntityAI
void ClosableContainer(LayoutHolder parent, int sort=-1)
Определения ClosableContainer.c:6
Container GetContainer()
Определения SlotsIcon.c:149
EntityAI GetEntity()
Определения SlotsIcon.c:365
ref map< EntityAI, ref Container > m_ShowedItems
Определения ZombieContainer.c:6

Перекрестные ссылки Container::ClosableContainer(), SlotsIcon::GetContainer(), SlotsIcon::GetEntity() и m_ShowedItems.

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