public MatchGameMessageHandler(ILogger logger, MatchThread matchThread)
 {
     this.matchThread      = matchThread;
     this.logger           = logger;
     commandHandler        = new MessageCommandHandlerServer();
     matchGameEventWrapper = new MatchGameEventContainer();
 }
예제 #2
0
 public MessageHandler_Request_JoinGame(ILogger logger, Server_MessageSender sender, MatchThread matchThread, List <IServerExtension> serverExtensions, MatchGameEventContainer matchGameEventWrapper)
 {
     this.matchGameEventWrapper = matchGameEventWrapper;
     this.sender      = sender;
     this.matchThread = matchThread;
     matchThread.updater.Add(this);
     lastPingTime          = new Dictionary <Server_ServerClient, float>();
     this.logger           = logger;
     this.serverExtensions = serverExtensions;
 }