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

◆ ExpandCollapseContainer()

override void AttachmentCategoriesContainer::ExpandCollapseContainer ( )
inlineprotected

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

258 {
259 if (m_OpenedContainers.Count() > m_ActiveIndex)
260 {
261 //c - container where selected icon is part of
262 Container c = Container.Cast(m_OpenedContainers.Get( m_ActiveIndex ));
263 //cc - container connected to selected icon (this container will be close/open)
265 //icon - selected icon
266 SlotsIcon icon = c.GetFocusedSlotsIcon();
267
268 if (icon)
269 {
270 cc = ClosableContainer.Cast(icon.GetContainer());
271 }
272
273 if (cc)
274 {
275
276 cc.Toggle();
277 RecomputeOpenedContainers();
278 }
279 }
280 }
const string Container
Определения CentralEconomy.c:6
void ClosableContainer(LayoutHolder parent, int sort=-1)
Определения ClosableContainer.c:6
Container GetContainer()
Определения SlotsIcon.c:149

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