예제 #1
0
 public MessageHandler_ServerRoundTrip_Ping(ILogger logger, Server_MessageSender messageSender, MatchThread matchThread, List <IServerExtension> serverExtensions)
 {
     this.logger           = logger;
     this.messageSender    = messageSender;
     this.matchThread      = matchThread;
     this.serverExtensions = serverExtensions;
 }
 public MatchGameMessageHandler(ILogger logger, MatchThread matchThread)
 {
     this.matchThread      = matchThread;
     this.logger           = logger;
     commandHandler        = new MessageCommandHandlerServer();
     matchGameEventWrapper = new MatchGameEventContainer();
 }
예제 #3
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;
 }