9 protected bool m_bIsListeningForCommStatus;
17 override void HandlerDeattached(Widget w)
19 super.HandlerDeattached(w);
22 m_bIsListeningForCommStatus =
false;
26 override void OnTabCreate(Widget menuRoot, ResourceName buttonsLayout,
int index)
28 super.OnTabCreate(menuRoot, buttonsLayout,
index);
32 m_NavHost = CreateNavigationButton(
"MenuSelectHold",
"#AR-ServerHosting_HostLocally",
true);
34 m_NavHost.m_OnActivated.Insert(OnHost);
41 m_NavSave = CreateNavigationButton(
"MenuSave",
"#AR-PauseMenu_Save",
true);
43 m_NavSave.m_OnActivated.Insert(OnSave);
51 override void OnTabShow()
57 if (!m_bIsListeningForCommStatus)
60 m_bIsListeningForCommStatus =
true;
65 override void OnTabHide()
70 m_bIsListeningForCommStatus =
false;
74 protected void UpdateHostButton()
83 protected void OnCommStatusCheckFinished(
SCR_ECommStatus status,
float responseTime,
float lastSuccessTime,
float lastFailTime)
89 protected void OnHost()
96 protected void OnSave()