Barotrauma Client Doc
Barotrauma.ServerListScreen.Tab Struct Reference

Public Member Functions

 Tab (TabEnum tabEnum, ServerListScreen serverListScreen, GUILayoutGroup tabber, string storage)
 
void Reload ()
 
bool Contains (ServerInfo info)
 
bool Remove (ServerInfo info)
 
void AddOrUpdate (ServerInfo info)
 
void Clear ()
 
void Save ()
 

Public Attributes

readonly string Storage
 
readonly GUIButton Button
 

Properties

IReadOnlyList< ServerInfoServers [get]
 

Detailed Description

Definition at line 118 of file ServerListScreen.cs.

Constructor & Destructor Documentation

◆ Tab()

Barotrauma.ServerListScreen.Tab.Tab ( TabEnum  tabEnum,
ServerListScreen  serverListScreen,
GUILayoutGroup  tabber,
string  storage 
)

Definition at line 126 of file ServerListScreen.cs.

Member Function Documentation

◆ AddOrUpdate()

void Barotrauma.ServerListScreen.Tab.AddOrUpdate ( ServerInfo  info)

Definition at line 154 of file ServerListScreen.cs.

◆ Clear()

void Barotrauma.ServerListScreen.Tab.Clear ( )

◆ Contains()

bool Barotrauma.ServerListScreen.Tab.Contains ( ServerInfo  info)

◆ Reload()

void Barotrauma.ServerListScreen.Tab.Reload ( )

Definition at line 143 of file ServerListScreen.cs.

◆ Remove()

bool Barotrauma.ServerListScreen.Tab.Remove ( ServerInfo  info)

◆ Save()

void Barotrauma.ServerListScreen.Tab.Save ( )

Definition at line 161 of file ServerListScreen.cs.

Member Data Documentation

◆ Button

readonly GUIButton Barotrauma.ServerListScreen.Tab.Button

Definition at line 121 of file ServerListScreen.cs.

◆ Storage

readonly string Barotrauma.ServerListScreen.Tab.Storage

Definition at line 120 of file ServerListScreen.cs.

Property Documentation

◆ Servers

IReadOnlyList<ServerInfo> Barotrauma.ServerListScreen.Tab.Servers
get

Definition at line 124 of file ServerListScreen.cs.