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; }
// 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); }
public Client_MessageHandler_ReadyCheck(UpdateController updateController, Client client, MatchMakerClient mM_NetworkTransmitter) { this.mM_NetworkTransmitter = mM_NetworkTransmitter; this.client = client; this.updateController = updateController; }