public void OnEndGameReport(MediusEndGameReport report) { Console.WriteLine($"---------------------------------------"); Console.WriteLine($"----- END GAME REPORT {GameName} {Id} -----"); Console.WriteLine($"----- {report} -----"); Console.WriteLine($"---------------------------------------"); WorldStatus = MediusWorldStatus.WorldClosed; }
public void OnEndGameReport(MediusEndGameReport report) { WorldStatus = MediusWorldStatus.WorldClosed; // Send to plugins Program.Plugins.OnEvent(PluginEvent.MEDIUS_GAME_ON_ENDED, new OnGameArgs() { Game = this }); }