コード例 #1
0
 public MMMessageHandler(MatchMakerClient networkTransmitter, UpdateController updateController, ILogger logger, PersistentData persistentData)
 {
     commandHandler          = new MessageCommandHandlerClient();
     this.persistentData     = persistentData;
     this.logger             = logger;
     this.networkTransmitter = networkTransmitter;
     this.updateController   = updateController;
 }
コード例 #2
0
    // Use this for initialization
    public void StartMatchMakingClient()
    {
        IMMEventHandler iMMEventHandler = new MM_EventHandler();
        ILogger         logger          = new UnityLogger();
        PersistentData  data            = UnityConfig.GetPersistentDataContainer().persistentData;
        string          name            = UnityConfig.GetName();

        clientEndPoint = new MatchMakerClient(config, iMMEventHandler, logger, data, name);
    }
コード例 #3
0
 public Client_MessageHandler_ReadyCheck(UpdateController updateController, Client client, MatchMakerClient mM_NetworkTransmitter)
 {
     this.mM_NetworkTransmitter = mM_NetworkTransmitter;
     this.client           = client;
     this.updateController = updateController;
 }