Esempio n. 1
0
            private static bool Explode(InteractableVehicle __instance)
            {
                bool cancel = false;

                OnVehicleExploding?.Invoke(__instance, out cancel);

                return(!cancel);
            }
Esempio n. 2
0
            public static bool Explode(InteractableVehicle __instance)
            {
                var cancel = false;

                OnVehicleExploding?.Invoke(__instance, ref cancel);

                return(!cancel);
            }