public override void WriteLine(string value) { try { if (value.Contains("xception") && !knowsExceptions.Contains(value) && !value.Contains("OnUnhandledException")) { knowsExceptions.Add(value); DataGathering.sendError(value); } if (defaultOut != null && defaultOut != this) { defaultOut.WriteLine(value); } } catch (Exception ex) { defaultOut.WriteLine(value); } }
private static void OnGameEnd(EventArgs args) { DataGathering.sendEndGame(ARAMSimulator.toNex.Health < ARAMSimulator.fromNex.Health); Thread.Sleep(5000);//Stole from myo lol Game.Quit(); }