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

◆ StartLogoutMenu()

override void MissionBase::StartLogoutMenu ( int time)
inlineprotected

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

1352 {
1353 if (m_Logout)
1354 {
1355 if (time > 0)
1356 {
1357 // character will be deleted from server int "time" seconds
1358 m_Logout.SetTime(time);
1359 m_Logout.Show();
1360
1361 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(m_Logout.UpdateTime, 1000, true);
1362 }
1363 else
1364 {
1365 // no waiting time -> player is most likely dead
1366 m_Logout.Exit();
1367 }
1368 }
1369 }
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
Определения 3_Game/tools/tools.c:8

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