public override void OnStart() { _packetSender.Start(false); _matchMaker.Start(); var listeners = GetListeners(); var shamanMessageSender = _messageSenderFactory.Create(_packetSender); foreach (var listener in listeners) { listener.Initialize(_matchMaker, shamanMessageSender, _roomManager, _matchMakingGroupManager, Config.AuthSecret); } }
public override void OnStart() { _packetSender.Start(); Logger.Info($"Game server started..."); var listeners = GetListeners(); var shamanMessageSender = _messageSenderFactory.Create(_packetSender); foreach (var listener in listeners) { listener.Initialize(_roomManager, shamanMessageSender, Config.AuthSecret); } }