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

◆ Cancel()

void UIScriptedMenu::Cancel ( )
inlineprivate

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

198 {
199 // this menu outlives its widgets, so the destructor can come back here long after an
200 // explicit cancel. Only ever tell the server once, a late second cancel would take back
201 // a logout somebody else has since asked for.
202 if (m_bCancelSent)
203 return;
204
205 m_bCancelSent = true;
206
207 g_Game.GetMission().Continue();
208 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).Remove(this.UpdateTime);
209
210 // request logout cancel from server
211 g_Game.LogoutRequestCancel();
212 }
DayZGame g_Game
Определения DayZGame.c:4074
bool m_bCancelSent
Определения LogoutMenu.c:12
void UpdateTime()
Определения InviteMenu.c:147
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, m_bCancelSent и UpdateTime().

Используется в OnClick(), Update() и ~LogoutMenu().