Further separation of client-specific code
Still not done here, just gonna push a commit now so I can pull this from elsewhere.
This commit is contained in:
@@ -54,6 +54,12 @@ namespace Barotrauma
|
||||
get { return serverMessage; }
|
||||
}
|
||||
|
||||
public string ServerMessageText
|
||||
{
|
||||
get { return serverMessage.Text; }
|
||||
set { serverMessage.Text = value; }
|
||||
}
|
||||
|
||||
public GUIListBox SubList
|
||||
{
|
||||
get { return subList; }
|
||||
@@ -68,6 +74,11 @@ namespace Barotrauma
|
||||
{
|
||||
get { return modeList; }
|
||||
}
|
||||
public int SelectedModeIndex
|
||||
{
|
||||
get { return modeList.SelectedIndex; }
|
||||
set { modeList.Select(value); }
|
||||
}
|
||||
|
||||
public GUIListBox PlayerList
|
||||
{
|
||||
@@ -80,6 +91,12 @@ namespace Barotrauma
|
||||
private set;
|
||||
}
|
||||
|
||||
public bool StartButtonEnabled
|
||||
{
|
||||
get { return StartButton.Enabled; }
|
||||
set { StartButton.Enabled = value; }
|
||||
}
|
||||
|
||||
public GUIFrame InfoFrame
|
||||
{
|
||||
get { return infoFrame; }
|
||||
@@ -454,7 +471,7 @@ namespace Barotrauma
|
||||
|
||||
base.Select();
|
||||
}
|
||||
|
||||
|
||||
public void ShowSpectateButton()
|
||||
{
|
||||
if (GameMain.Client == null) return;
|
||||
|
||||
Reference in New Issue
Block a user