internal static bool OnSendClicked(Thor.CrashReporter __instance) { return(false); //block execution of the original }
internal static bool OnCrash(Thor.CrashReporter __instance, BugSplat.Report report) { API.instance.GetLogger().Fatal("The game has crashed: " + report.stacktrace); UnityEngine.Application.Quit(); return(false); //block execution of the original }