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

◆ StartLogoutMenu()

override void MissionBase::StartLogoutMenu ( int time)
inlineprotected

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

1337 {
1338 if (m_Logout)
1339 {
1340 if (time > 0)
1341 {
1342 // character will be deleted from server int "time" seconds
1343 m_Logout.SetTime(time);
1344 m_Logout.Show();
1345
1346 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(m_Logout.UpdateTime, 1000, true);
1347 }
1348 else
1349 {
1350 // no waiting time -> player is most likely dead
1351 m_Logout.Exit();
1352 }
1353 }
1354 }
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
ref LogoutMenu m_Logout
Определения missionGameplay.c:16
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Определения tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetGame() и m_Logout.