// Use this for initialization public void StartOnlineClient(ILogger logger) { var matchEventHandler = new Match_EventHandler(mM_GUIHandler); var data = UnityConfig.GetPersistentDataContainer().persistentData; var messageHandlerExpansion = MessageHandlerFactory.CreateMessageHandlerExpansion(); var config = new UnityClientConfig(InGameWrapper.instance.clockWrapper); clientEndPoint = new MatchClient(matchEventHandler, logger, data, messageHandlerExpansion, config); }