Пример #1
0
 public MatchLobbyContext(
     TCPServer Server, ConnectionCache <Player> ConnectionCache, MatchLobby Lobby, Chat Chat)
     : base(Server, ConnectionCache)
 {
     this.Lobby = Lobby;
     this.Chat  = Chat;
 }
Пример #2
0
 public MatchContext(
     TCPServer Server,
     ConnectionCache <Player> ConnectionCache,
     Match Match,
     OrderSerializer OrderSerializer,
     Army Army)
     : base(Server, ConnectionCache)
 {
     this.Match           = Match;
     this.OrderSerializer = OrderSerializer;
     this.Army            = Army;
 }
Пример #3
0
 public ChatServerLayer(Chat Chat, ConnectionCache <Player> PlayerConnections)
     : base(Chat)
 {
     _PlayerConnections = PlayerConnections;
 }
Пример #4
0
 public LobbyServerLayer(MatchLobby Lobby, ConnectionCache <Player> PlayerConnections)
 {
     this.Lobby         = Lobby;
     _PlayerConnections = PlayerConnections;
 }
Пример #5
0
 public MatchServerLayer(Match Match, Dictionary <Army, Player> PlayerMap, ConnectionCache <Player> PlayerConnections)
     : base(Match)
 {
     _PlayerMap         = PlayerMap;
     _PlayerConnections = PlayerConnections;
 }
Пример #6
0
 protected NetworkContext(TCPServer Server, ConnectionCache <Player> ConnectionCache)
 {
     this.Server          = Server;
     this.ConnectionCache = ConnectionCache;
 }
Пример #7
0
 public ServerContext(
     TCPServer Server, ConnectionCache <Player> ConnectionCache, PanzerBlitzServer PanzerBlitzServer)
     : base(Server, ConnectionCache)
 {
     this.PanzerBlitzServer = PanzerBlitzServer;
 }
Пример #8
0
 public PlayerContext(TCPServer Server, ConnectionCache <Player> ConnectionCache, Player Player)
     : base(Server, ConnectionCache)
 {
     this.Player = Player;
 }