public void Start() { Log.Info("Starting"); this.OnStart(null); Server = new Server(GameStateEngine.GetContext(), Program.BroadcastPort); Server.OnStop += (sender, args) => { if (!StopCalled) { this.Stop(); } }; Log.Info("Started"); }
public void Start() { Log.Info("Starting"); this.OnStart(null); if (!Program.Local) { SasManagerServiceClient.GetContext().Start(); } Server = new Server(GameStateEngine.GetContext()); Server.OnStop += (sender, args) => { if (!StopCalled) { this.Stop(); } }; Log.Info("Started"); }