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

◆ CanOpenCloseContainerEx()

override bool ZombieContainer::CanOpenCloseContainerEx ( EntityAI focusedEntity)
inlineprotected

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

322 {
324 if (focusedEntity)
325 {
326 c = ClosableContainer.Cast( m_ShowedItems.Get( focusedEntity ) );
327 }
328 else
329 {
330 SlotsIcon icon = GetFocusedSlotsIcon();
331 if (icon)
332 {
333 c = ClosableContainer.Cast(icon.GetContainer());
334 }
335 }
336
337 if (c && c.IsDisplayable())
338 {
339 return true;
340 }
341
342 return false;
343 }
override bool IsDisplayable()
Определения ContainerWithCargo.c:19
void ClosableContainer(LayoutHolder parent, int sort=-1)
Определения ClosableContainer.c:6
Container GetContainer()
Определения SlotsIcon.c:149
ref map< EntityAI, ref Container > m_ShowedItems
Определения ZombieContainer.c:6

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