FFACETools.FFACE.IsSet C# (CSharp) Method

IsSet() static private method

static private IsSet ( UInt32 value, UInt32 bit ) : bool
value System.UInt32
bit System.UInt32
return 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