Traitor probability selection instead of separate traitor mode, stopping water ambience on round end, lobby sync after client has verified connection, WIP shiftsummary in multiplayer, "cleanbuild" command in debugconsole

This commit is contained in:
Regalis
2016-01-07 23:25:11 +02:00
parent e102154f5f
commit 03f569b161
19 changed files with 273 additions and 140 deletions

View File

@@ -6,11 +6,16 @@ using System.Text;
namespace Barotrauma.Networking
{
enum SelectionMode
enum SelectionMode : int
{
Manual = 0, Random = 1, Vote = 2
}
enum YesNoMaybe : int
{
No = 0, Maybe = 1, Yes = 2
}
partial class GameServer : NetworkMember
{
public bool ShowNetStats;
@@ -47,6 +52,12 @@ namespace Barotrauma.Networking
}
}
public YesNoMaybe TraitorsEnabled
{
get;
set;
}
public SelectionMode SubSelectionMode
{
get { return subSelectionMode; }