Add banlist (Server.Ban settings item) support to game servers

This commit is contained in:
Igor Popov
2012-05-26 16:31:14 +04:00
committed by Chris Forbes
parent 1bb1e00a0d
commit 3f0fafb380
3 changed files with 22 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ namespace OpenRA.GameRules
public string MasterServer = "http://master.open-ra.org/";
public bool AllowCheats = false;
public string Map = null;
public string[] Ban = null;
public ServerSettings() { }
@@ -43,6 +44,7 @@ namespace OpenRA.GameRules
MasterServer = other.MasterServer;
AllowCheats = other.AllowCheats;
Map = other.Map;
Ban = other.Ban;
}
}