Esempio n. 1
0
 public HandshakeComponent(MatchScreen screen, ServerWorld world, AOSServer server)
 {
     this.screen = screen;
     this.server = server;
     this.world  = world;
     handshakes  = new Dictionary <NetConnection, Handshake>();
 }
 public NetworkedGamemode(MatchScreen screen, GamemodeType type)
     : base(type)
 {
     Screen   = screen;
     Players  = new Dictionary <NetConnection, ServerMPPlayer>();
     respawns = new ConcurrentDictionary <NetConnection, RespawnToken>();
 }
Esempio n. 3
0
 public TDMGamemode(MatchScreen screen)
     : base(screen, GamemodeType.TDM)
 {
     teamA = new BiDictionary <NetConnection, NetworkPlayer>();
     teamB = new BiDictionary <NetConnection, NetworkPlayer>();
 }