DIFF

class ServerBrowserEntrySource

ServerBrowserEntry ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 2

void ~ServerBrowserEntry()
References m_Root

Members 30

protected Widget m_Favorite
protected TextWidget m_ServerName
Referenced by Preview(), ServerBrowserEntry(), SetName()
Show 1 more, UpdateColors()
protected TextWidget m_ServerPopulation
protected TextWidget m_ServerSlots
protected TextWidget m_ServerPing
protected ImageWidget m_ServerTime

not currently displayed

protected ImageWidget m_ServerLock
protected ImageWidget m_ServerModIcon
protected ImageWidget m_ServerMaKIcon
protected TextWidget m_ServerShard
Referenced by ServerBrowserEntry(), and SetShard()
protected TextWidget m_ServerCharacterAlive
protected TextWidget m_ServerFriends
protected TextWidget m_ServerMode
Referenced by ServerBrowserEntry(), and SetMode()
protected TextWidget m_ServerBattleye
protected TextWidget m_ServerIP
Referenced by ServerBrowserEntry(), and SetIP()
protected TextWidget m_ServerAcceleration
protected TextWidget m_ServerMap
protected TextWidget m_ServerMods
Referenced by ServerBrowserEntry(), and SetMods()
protected ButtonWidget m_ServerModsExpand
Referenced by IsFocusable(), OnClick(), ServerBrowserEntry()
Show 1 more, SetMods()
protected ref array<string> m_Mods
Referenced by OnClick(), and SetMods()
protected Widget m_DetailedInfo
protected bool m_IsExpanded
Referenced by SetExpand(), and ToggleExpand()
protected bool m_IsFavorited
protected bool m_IsOnline
Referenced by IsOnline(), OnFocus(), OnSelect()
Show 2 more, ServerBrowserEntry(), and SetIsOnline()
protected int m_Index
Referenced by Lighten(), and ServerBrowserEntry()
protected bool m_Selected
Referenced by Darken(), Deselect(), Lighten()
Show 3 more, OnFocus(), Preview(), and Select()
protected bool m_FirstExpand = true
Referenced by FillInfo(), and SetExpand()

Methods 54

override bool OnDoubleClick(Widget w, int x, int y, int button)
References ServerBrowserTab.Connect(), IsOnline(), m_Root
Show 1 more, m_Tab
override bool OnMouseButtonUp(Widget w, int x, int y, int button)
References OnSelect(), ToggleFavorite(), m_Favorite
Show 1 more, m_Root
void OnSelect()
Referenced by OnMouseButtonUp()
override bool OnMouseEnter(Widget w, int x, int y)
References IsFocusable(), and Preview()
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
References IsFocusable(), and Lighten()
void Focus()
References SetFocus(), and m_Root
void ServerListFocus(bool focus)
Referenced by OnFocus(), and OnFocusLost()
override bool OnFocusLost(Widget w, int x, int y)
References Deselect(), IsFocusable(), Lighten()
Show 2 more, ServerListFocus(), and m_Root
bool IsOnline()
References m_IsOnline
bool IsFocusable(Widget w)
Referenced by OnFocus(), OnFocusLost(), OnMouseEnter()
Show 1 more, OnMouseLeave()
void SetName(string name)
Referenced by FillInfo()
void SetPasswordLocked(bool locked)
References Widget.Show(), and m_ServerLock
Referenced by FillInfo()
void SetSlots(int slots)
References IsOnline(), TextWidget.SetText(), int.ToString()
Show 1 more, m_ServerSlots
Referenced by FillInfo()
void SetPing(int ping)
Referenced by FillInfo()
void SetTime(string time, float multiplier)
void SetShard(int shard)
Referenced by FillInfo()
void SetCharacterAlive(string char_alive)
Referenced by FillInfo()
void SetFriends(string friends_text)
Referenced by FillInfo()
void SetMode(int mode)
Referenced by FillInfo()
void SetBattleye(bool battleye)
Referenced by FillInfo()
void SetIP(string ip)
Referenced by FillInfo()
int GetSteamQueryPort()
string GetServerID()
void SetAcceleration(float mult)
Referenced by FillInfo()
void SetModded(bool is_modded)
Referenced by FillInfo()
void SetMouseAndKeyboard(bool is_mkenabled)
Referenced by FillInfo()
bool ToggleExpand()
References SetExpand(), and m_IsExpanded
void Lighten(Widget w, Widget enterW, int x, int y)
Referenced by Deselect(), OnFocusLost(), OnMouseLeave()
Show 1 more, UpdateEntry()
GetServersResultRow GetServerData()
References m_ServerData
string GetMapName()
void SetMapName(string mapName)
void SetPopulation(int population, int slots)