コード例 #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;
 }