private static bool Explode(InteractableVehicle __instance) { bool cancel = false; OnVehicleExploding?.Invoke(__instance, out cancel); return(!cancel); }
public static bool Explode(InteractableVehicle __instance) { var cancel = false; OnVehicleExploding?.Invoke(__instance, ref cancel); return(!cancel); }