FFACETools.FFACE.IsSet C# (CSharp) Méthode

IsSet() static private méthode

static private IsSet ( UInt32 value, UInt32 bit ) : bool
value System.UInt32
bit System.UInt32
Résultat bool
        internal static bool IsSet(UInt32 value, UInt32 bit)
        {
            if (value == bit)
                return true;
            return ((value & bit) != 0); // generic, means i don't have to be exact on settings.
        }

Same methods

FFACE::IsSet ( InventoryType value, InventoryType bit ) : bool
FFACE::IsSet ( LineSettings value, LineSettings bit ) : bool
FFACE