MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / OnConnectionFailedDialogEvent

Method OnConnectionFailedDialogEvent

NetStream/source/menus/menu_server.cpp:162–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void menu::GenericServerMenu::OnConnectionFailedDialogEvent()
163{
164 if (m_playerFailed)
165 {
166 m_playerFailed = false;
167 return;
168 }
169
170 PopBrowserPage();
171 menu::SettingsButtonCbFun(ui::Button::CB_BTN_DECIDE, NULL, 0, NULL);
172 if (m_pageList.empty())
173 {
174 delete this;
175 }
176 menu::GenericMenu *topMenu = menu::GetTopMenu();
177 if (topMenu)
178 {
179 topMenu->DisableInput();
180 }
181}
182
183void menu::GenericServerMenu::GoTo(const string& ref)
184{

Callers 1

GenericServerMenuMethod · 0.80

Calls 1

DisableInputMethod · 0.80

Tested by

no test coverage detected