class InviteMenu
InviteMenu › UIScriptedMenu › UIMenuPanel › Managed
Constructors 2
void InviteMenu()References Mission.AddActiveInputExcludes(), new FullTimeData(), Mission.GetHud()
Show 5 more
, CGame.GetMission(), Hud.ShowHudUI(), Hud.ShowQuickbarUI(), m_FullTime, and m_iTimevoid ~InviteMenu()Constants 2
protected const int LOGOUT_REPLY_TIMEOUT_MS = 5000How long to wait for the server to answer the logout request before joining regardless
Referenced by Init()
protected const int JOIN_LEAD_TIME_S = 1How much of the logout is left when we start joining, see UpdateTime
Members 5
private TextWidget m_LogoutTimeTextprivate MultilineTextWidget m_DescriptionTextReferenced by Init()
private int m_iTimeprivate bool m_bJoiningprivate ref FullTimeData m_FullTimeMethods 7
override Widget Init()References ScriptCallQueue.CallLater(), Class.Cast(), Class.Cast()
Show 26 more
, Class.Cast(), Class.Cast(), EmoteManager.CreateEmoteCBFromMenu(), WorkspaceWidget.CreateWidgets(), Widget.FindAnyWidget(), DayZGame.GetCallQueue(), EmoteManager.GetEmoteLauncher(), PlayerBase.GetEmoteManager(), CGame.GetMission(), CGame.GetPlayer(), CGame.GetWorkspace(), PlayerBase.IsRestrained(), PlayerBase.IsUnconscious(), CGame.LogoutRequestTime(), EmoteLauncher.SetForced(), SetLogoutTime(), TextWidget.SetText(), Widget.Show(), MissionGameplay.TakeOverLogoutMenu(), Widget.Update(), EmoteLauncher.FORCE_DIFFERENT, EmoteConstants.ID_EMOTE_SITA, UIScriptedMenu.layoutRoot, LOGOUT_REPLY_TIMEOUT_MS, m_DescriptionText, and m_LogoutTimeTextvoid StartCountdown(int time)Called once the server answered the logout request with the time it needs to log us out
References ScriptCallQueue.CallLater(), DayZGame.GetCallQueue(), JoinTargetServer()
Show 4 more
, ScriptCallQueue.Remove(), SetTime(), JOIN_LEAD_TIME_S, and m_bJoiningReferenced by MissionGameplay.StartLogoutMenu()
protected void OnLogoutReplyTimeout()The server did not answer, which it does not when a logout is already under way. Joining now can still be refused by the lobby, but it is better than waiting here forever.
void SetTime(int time)void UpdateTime()protected void JoinTargetServer()References ScriptCallQueue.Call(), DayZGame.GetCallQueue(), OnlineServices.GetInviteServerInfo()