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

◆ OnLoadServersAsyncConsole() [2/2]

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

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

173 {
174 if ( error != EBiosError.OK )
175 {
176 m_LoadingText.SetText( string.Format("Error: %1", ErrorModuleHandler.GetClientMessage(ErrorCategory.BIOSError, error)) );
177 m_Menu.SetServersLoadingTab( TabType.NONE );
178 m_LoadingFinished = true;
180 return;
181 }
182
183 m_PagesCount = result_list.m_Pages;
184 m_TotalServersCount = result_list.m_NumServers;
185
186 LoadEntries( result_list.m_Page, result_list.m_Results );
189 }
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:349
int m_Pages
Определения BiosLobbyService.c:346
ref GetServersResultRowArray m_Results
Определения BiosLobbyService.c:347
int m_Page
Определения BiosLobbyService.c:345
void UpdatePageButtons()
Определения ServerBrowserTabConsolePages.c:646
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().