11 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/server_browser/xbox/server_browser_tab.layout", parent);
35 m_WidgetNavFilters =
m_Root.FindAnyWidget(
"filters_root_nav_wrapper");
36 m_WidgetNavServers =
m_Root.FindAnyWidget(
"server_list_root_nav_wrapper");
38 ShowHideConsoleWidgets();
40 m_Filters =
new ServerBrowserFilterContainer(
m_Root.FindAnyWidget(
"filters_content"),
this);
56 m_Root.FindAnyWidget(
"filters_root_nav_img_lb_xbox").Show(
is_xbox);
57 m_Root.FindAnyWidget(
"filters_root_nav_img_rb_xbox").Show(
is_xbox);
58 m_Root.FindAnyWidget(
"server_list_root_nav_img_lb_xbox").Show(
is_xbox);
59 m_Root.FindAnyWidget(
"server_list_root_nav_img_rb_xbox").Show(
is_xbox);
61 m_Root.FindAnyWidget(
"filters_root_nav_img_l1_ps4").Show(!
is_xbox);
62 m_Root.FindAnyWidget(
"filters_root_nav_img_r1_ps4").Show(!
is_xbox);
63 m_Root.FindAnyWidget(
"server_list_root_nav_img_l1_ps4").Show(!
is_xbox);
64 m_Root.FindAnyWidget(
"server_list_root_nav_img_r1_ps4").Show(!
is_xbox);
87 m_LoadingText.SetText(
"#server_browser_tab_unable_to_get_server #server_browser_tab_no_servers_with_filter");
104 OnLoadServersAsyncFinished();
111 msg =
"#server_browser_tab_unable_to_get_server";
194 m_IsFilterChanged =
true;
216 super.ResetFilters();
218 m_IsFilterChanged =
false;
223 m_IsFilterChanged =
false;
230 super.OnFilterFocusLost(
w);
271 if (m_IsFilterFocused)
279 if (m_IsFilterFocused)
287 SetEnableFilters(
true);
288 SetEnableServers(
false);
292 m_WidgetNavServers.Show(
false);
295 m_IsFilterFocused =
true;
310 SetEnableServers(
true);
311 SetEnableFilters(
false);
313 m_WidgetNavFilters.Show(
false);
314 m_WidgetNavServers.Show(
true);
320 m_IsFilterFocused =
false;
348 w.SetColor(
ARGB(255, 200, 0, 0));
364 button.SetTextColor(
ARGB(255, 255, 255, 255));
375 text1.SetColor(
ARGB(255, 255, 255, 255));
378 text2.SetColor(
ARGB(255, 255, 255, 255));
382 text3.SetColor(
ARGB(255, 255, 255, 255));
387 image.SetColor(
ARGB(255, 255, 255, 255));
395#ifdef PLATFORM_WINDOWS
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
ref ServerBrowserFilterContainer m_Filters
ref map< ESortType, ref array< ref GetServersResultRow > > m_EntriesSorted
ServerBrowserEntry m_SelectedServer
ref GetServersInput m_CurrentFilterInput
ref map< string, ref ServerBrowserEntry > m_EntryWidgets
void ScrollToEntry(ServerBrowserEntry entry)
ScrollWidget m_ServerListScroller
bool PassFilter(GetServersResultRow result)
string m_CurrentSelectedServer
ServerBrowserMenuNew m_Menu
SelectedPanel m_SelectedPanel
SpacerBaseWidget m_ServerList
static int COLOR_DISABLED_TEXT
The error handler itself, for managing and distributing errors to modules Manages the ErrorHandlerMod...
static proto string GetClientMessage(ErrorCategory category, int code, string additionalInfo="")
Gets the Client Message for specified error.
GetServersResult the output structure of the GetServers operation.
override void OnFilterFocus(Widget w)
override void OnFilterFocusLost(Widget w)
override void PressSholderRight()
override void ColorDisable(Widget w)
override void ApplyFilters()
Widget m_WidgetNavFilters
void LoadEntries(int cur_page_index, GetServersResultRowArray page)
override void ColorNormal(Widget w)
override void ResetFilters()
Widget m_WidgetNavServers
override void RefreshList()
override void OnLoadServersAsyncConsole(GetServersResult result_list, EBiosError error, string response)
override void PressSholderLeft()
override void OnFilterChanged()
void SetEnableServers(bool enable)
void SetEnableFilters(bool enable)
override void Construct(Widget parent, ServerBrowserMenuNew menu, TabType type)
void ShowHideConsoleWidgets()
override void ColorHighlight(Widget w)
void OnLoadServersAsyncFinished()
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)