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

◆ ExpandCollapseContainer()

override void AttachmentCategoriesContainer::ExpandCollapseContainer ( )
inlineprotected

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

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

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