Exemplo n.º 1
0
        public static GatewayIntents operator -(GatewayIntents left, GatewayIntent right)
        {
            var rawValue = left.RawValue;

            FlagUtilities.UnsetFlag(ref rawValue, (ulong)right);
            return(rawValue);
        }
Exemplo n.º 2
0
 internal static void UnsetFlag(ref ulong rawValue, Permission flag)
 => FlagUtilities.UnsetFlag(ref rawValue, (ulong)flag);