Ejemplo n.º 1
0
        public static bool OnValueRound(out long result, long num, long min, long max)
        {
            ValueLimitEventArgs args = new ValueLimitEventArgs {
                RemoveLimit = false
            };

            ToggleValueLimit?.Invoke(null, args);
            result = num;
            return(args.RemoveLimit);
        }
Ejemplo n.º 2
0
        public static bool OnValueRound(out int result, int num)
        {
            ValueLimitEventArgs args = new ValueLimitEventArgs {
                RemoveLimit = false
            };

            ToggleValueLimit?.Invoke(null, args);
            result = num;
            return(args.RemoveLimit);
        }