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

◆ OnLoadServersAsyncConsole() [2/2]

override void ServerBrowserTab::OnLoadServersAsyncConsole ( GetServersResult result_list,
EBiosError error,
string response )
inlineprotected

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

180 {
181 if ( error != EBiosError.OK )
182 {
183 m_LoadingText.SetText( string.Format("Error: %1", ErrorModuleHandler.GetClientMessage(ErrorCategory.BIOSError, error)) );
184 m_Menu.SetServersLoadingTab( TabType.NONE );
185 m_LoadingFinished = true;
187 return;
188 }
189
190 m_PagesCount = result_list.m_Pages;
191 m_TotalServersCount = result_list.m_NumServers;
192
193 LoadEntries( result_list.m_Page, result_list.m_Results );
196 }
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
Определения BIOSErrorModule.c:7
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
Определения ErrorModuleHandler.c:5
bool m_LoadingFinished
Определения ServerBrowserTab.c:52
TabType
Определения ServerBrowserTab.c:2
ServerBrowserMenuNew m_Menu
Определения ServerBrowserTab.c:37
TextWidget m_LoadingText
Определения ServerBrowserTab.c:71
int m_NumServers
Определения BiosLobbyService.c:375
int m_Pages
Определения BiosLobbyService.c:372
ref GetServersResultRowArray m_Results
Определения BiosLobbyService.c:373
int m_Page
Определения BiosLobbyService.c:371
void UpdatePageButtons()
Определения ServerBrowserTabConsolePages.c:657
void LoadEntries(int cur_page_index, GetServersResultRowArray page)
Определения ServerBrowserTabConsole.c:127
void SetFocusFilters()
Определения ServerBrowserTabConsole.c:316
void OnLoadServersAsyncFinished()
Определения ServerBrowserTabConsole.c:116

Перекрестные ссылки ErrorModuleHandler::GetClientMessage(), ServerBrowserTabConsolePages::LoadEntries(), m_LoadingFinished, m_LoadingText, m_Menu, GetServersResult::m_NumServers, GetServersResult::m_Page, GetServersResult::m_Pages, m_PagesCount, GetServersResult::m_Results, m_TotalServersCount, ServerBrowserTabConsolePages::OnLoadServersAsyncFinished(), ServerBrowserTabConsolePages::SetFocusFilters() и UpdatePageButtons().