mirror of
https://github.com/djdevin/recnet-plugin.git
synced 2026-09-08 14:41:30 -07:00
10 lines
406 B
C
10 lines
406 B
C
#pragma once
|
|
|
|
// Detours UnityEngine.Application.Quit() / Quit(int) to log the managed caller and (optionally)
|
|
// suppress the shutdown. See src/unity/quit_trace.c.
|
|
void PatchQuitTrace(void);
|
|
|
|
// Call-through hooks on kernel32!ExitProcess / !TerminateProcess that log who tore the process
|
|
// down. Installed by PatchQuitTrace; separate entry point so it can be used standalone.
|
|
void HookProcessExit(void);
|