static void Prefix(Player __instance) { BeforeDestroy?.Invoke(__instance); }
private void OnBeforeDestroy() { BeforeDestroy?.Invoke(); }