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

◆ UpdateLoginQueue()

void CGame::UpdateLoginQueue ( float timeslice)
inlineprotected

Display login queue position dialog

manually update static login queue dialog

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

1839 {
1840 int pos = GetUIManager().GetLoginQueuePosition();
1841
1843 if (!m_LoginQueue && pos > 0)
1844 {
1846
1847 if (GetMission())
1848 {
1849 UIScriptedMenu parent = GetUIManager().GetMenu();
1850 EnterLoginQueue(parent);
1851 }
1852 else
1853 {
1854 m_LoginQueue = new LoginQueueStatic();
1856 }
1857 }
1858 if (m_LoginQueue)
1859 {
1860 m_LoginQueue.SetPosition(pos);
1861
1863 LoginQueueStatic loginQueue;
1864 if (LoginQueueBase.CastTo(loginQueue, m_LoginQueue))
1865 {
1866 loginQueue.Update(timeslice);
1867 }
1868 }
1869 }
void LoginQueueBase()
Определения DayZGame.c:117
ref LoginQueueBase m_LoginQueue
Определения DayZGame.c:915
proto native UIManager GetUIManager()
void EnterLoginQueue(UIMenuPanel parent)
Определения DayZGame.c:1977
proto native Mission GetMission()
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native int GetLoginQueuePosition()
bool CloseAll()
Close all opened menus.
Определения UIManager.c:78
proto native UIScriptedMenu ShowScriptedMenu(UIScriptedMenu menu, UIMenuPanel parent)

Перекрестные ссылки UIManager::CloseAll(), EnterLoginQueue(), UIManager::GetLoginQueuePosition(), UIManager::GetMenu(), GetMission(), GetUIManager(), m_LoginQueue и UIManager::ShowScriptedMenu().

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