DIFF

class ServerBrowserFilterContainerSource

ServerBrowserFilterContainer ScriptedWidgetEventHandler Managed

All members, including inherited

Constructors 1

Members 23

ref map<string, string> m_Options = new map<string, string>
Referenced by FavoriteIsSet(), LoadFilters(), PingIsSet()
Show 2 more, PreviouslyIsSet(), and SaveFilters()
protected ButtonWidget m_RefreshList
ref OptionSelectorMultistate m_CharacterAliveFilter
ref OptionSelector m_FavoritedFilter
ref OptionSelector m_FriendsPlayingFilter
ref OptionSelector m_VersionMatchFilter
ref OptionSelector m_DLCFilter
ref OptionSelector m_BattleyeFilter
ref OptionSelector m_PublicFilter
ref OptionSelector m_AcceleratedTimeFilter

Methods 24

protected array<string> LoadMapFilterOptions()
void OnFilterChanged()
Referenced by OnChange()
void OnMapFilterChanged()
bool ProcessIntoIPAddress(out string potential_ip)

Removes all characters from the given string whirh are NOT a number, '.' or ':'. Returns true if any change was done to the input text.

Referenced by OnChange()
bool LimitTextBoxCharacterCount(out string text, int max_length)

Limits the given text to 'max_length' character count. Returns true if any change was done to the input.

string GenerateValidIP(string potential_ip)

Attempts to generate a valid IP address & port from the given string in format like this: "192.168.0.2:2503". If the process fails, then an empty string is returned.

bool GenerateValidFilter(out string potential_filter)

Turns any given string into a more convenient filter (limits character count, forces lowercase, trims empty spaces).

Referenced by OnChange()
void OnSortChanged(int value)
override bool OnFocus(Widget w, int x, int y)
override bool OnMouseEnter(Widget w, int x, int y)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)