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

◆ SetFirstActive()

override void LayoutHolder::SetFirstActive ( )
inlineprotected

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

824 {
825 if (!m_IsActive)
826 {
827 SetActive(true);
828 }
829 else
830 {
831 if (m_OpenedContainers.Count())
832 {
835 {
836 for (int i = 1; i < m_OpenedContainers.Count(); i++)
837 {
839 {
840 m_OpenedContainers[i].SetActive(false);
841 }
842 }
843 m_OpenedContainers[m_ActiveIndex].SetActive(true);
844 }
845 else
846 {
847 m_OpenedContainers[m_ActiveIndex].SetFirstActive();
848 }
849 }
850 }
851 }
bool m_IsActive
Определения ModifierBase.c:19
bool IsActive()
Определения ModifierBase.c:130
void SetActive()
Определения TrapBase.c:414
ref array< LayoutHolder > m_OpenedContainers
Определения Container.c:4
int m_ActiveIndex
Определения Container.c:5
void SetDefaultFocus(bool while_micromanagment_mode=false)
Определения Container.c:115

Перекрестные ссылки IsActive(), m_ActiveIndex, m_IsActive, m_OpenedContainers, SetActive() и Container::SetDefaultFocus().

Используется в RecomputeOpenedContainers(), SetNextActive() и SetSameLevelNextActive().