DIFF

class InviteMenu

InviteMenu › UIScriptedMenu › UIMenuPanel › Managed

Constructors 2

Constants 2

protected const int LOGOUT_REPLY_TIMEOUT_MS = 5000

How long to wait for the server to answer the logout request before joining regardless

Referenced by Init()
protected const int JOIN_LEAD_TIME_S = 1

How much of the logout is left when we start joining, see UpdateTime

Referenced by StartCountdown(), and UpdateTime()

Members 5

private TextWidget m_LogoutTimeText
Referenced by Init(), SetLogoutTime(), and SetTime()
private MultilineTextWidget m_DescriptionText
Referenced by Init()
private int m_iTime
Referenced by InviteMenu(), SetTime(), and UpdateTime()
private bool m_bJoining
private ref FullTimeData m_FullTime
Referenced by InviteMenu(), and SetTime()

Methods 7

void SetLogoutTime()
Referenced by Init()
void StartCountdown(int time)

Called once the server answered the logout request with the time it needs to log us out

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.

References JoinTargetServer(), and Print()
void UpdateTime()
References JoinTargetServer(), SetTime(), JOIN_LEAD_TIME_S
Show 1 more, m_iTime