94 if (
GetGame().GetContentDLCService())
121 entry.RefreshDLCIcon();
149 root.GetParent().Update();
183 m_Menu.FilterFocus(
false);
317 if (
focused.GetName() ==
"server_browser_list_entry_root")
329 if (
focused &&
focused.GetName() ==
"server_browser_list_entry_root")
400#ifndef PLATFORM_WINDOWS
407#ifdef PLATFORM_CONSOLE
449#ifdef PLATFORM_CONSOLE
497 if (
m_Filters.m_PreviouslyPlayedFilter.IsSet())
543 return "currentNumberPlayers";
564 ServerBrowserEntry entry;
566 entry.SetFavorite(
false);
595 w.SetColor(
ARGB(255, 0, 0, 0));
634 button.SetTextColor(
ARGB(255, 255, 255, 255));
645 text1.SetColor(
ARGB(255, 255, 255, 255));
648 text2.SetColor(
ARGB(255, 255, 255, 255));
652 text3.SetColor(
ARGB(255, 255, 255, 255));
657 image.SetColor(
ARGB(255, 255, 255, 255));
668#ifdef PLATFORM_WINDOWS
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
void LoadExtraEntries(int index)
void ServerBrowserTab(Widget parent, ServerBrowserMenuNew menu, TabType type)
ref ServerBrowserFilterContainer m_Filters
ref map< ESortType, ref array< ref GetServersResultRow > > m_EntriesSorted
Widget m_FilterSearchText
ServerBrowserEntry m_SelectedServer
void ButtonDisable(Widget w)
ref GetServersInput m_CurrentFilterInput
void ServerListFocus(bool focus, bool favorite)
ButtonWidget m_BtnPageNext
ref map< ESortType, ESortOrder > m_SortInverted
bool IsPingInRange(int ping, string max_ping)
ref map< string, ref ServerBrowserEntry > m_EntryWidgets
bool GetIsServerLoadingFinished()
void ScrollToEntry(ServerBrowserEntry entry)
void Connect(ServerBrowserEntry server)
ScrollWidget m_ServerListScroller
bool PassFilter(GetServersResultRow result)
string m_CurrentSelectedServer
ServerBrowserMenuNew m_Menu
ref map< string, ref array< string > > m_EntryMods
void AddFavoritesToFilter(ref GetServersInput input)
SelectedPanel m_SelectedPanel
void Unfavorite(string uid)
ButtonWidget m_BtnPagePrev
void ButtonEnable(Widget w)
SpacerBaseWidget m_ServerList
override bool OnFocusLost(Widget w, int x, int y)
Widget m_FilterSearchTextBox
override bool OnFocus(Widget w, int x, int y)
ref set< string > m_OnlineFavServers
void SetCurrentPage(int page_num)
void OnDLCChange(EDLCId dlcId)
ServerBrowserMenuNew GetRootMenu()
static int COLOR_DISABLED_TEXT
GetServersResult the output structure of the GetServers operation.
static void LoadServers(notnull GetServersInput inputValues)
override void OnFilterFocus(Widget w)
override void OnLoadServersAsyncPC(ref GetServersResult result_list, EBiosError error, string response)
override void OnFilterFocusLost(Widget w)
override void PressSholderRight()
override bool IsFocusable(Widget w)
override void ColorDisable(Widget w)
override void ApplyFilters()
override bool OnClick(Widget w, int x, int y, int button)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
override void SetSort(ESortType type, ESortOrder order)
override void SelectServer(ServerBrowserEntry server)
override void ColorNormal(Widget w)
override int AddSorted(GetServersResultRow entry)
override void ResetFilters()
override void RefreshList()
override void OnLoadServersAsyncConsole(GetServersResult result_list, EBiosError error, string response)
override void PressSholderLeft()
override void OnFilterChanged()
override bool OnMouseEnter(Widget w, int x, int y)
override void RightRelease()
override void OnLoadServerModsAsync(string server_id, array< string > mods)
override void Construct(Widget parent, ServerBrowserMenuNew menu, TabType type)
override void ColorHighlight(Widget w)
override void RightHold()
override void LeftRelease()
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)