C# Class System.Flags

Show file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
BITS byte[]

Public Methods

Method Description
HasFlags ( byte b, byte flags ) : bool
HasFlags ( byte b, int flags ) : bool
HasSomeFlags ( byte b, byte flags ) : bool
HasSomeFlags ( byte b, int flags ) : bool
SetFlagsOff ( byte &b, byte flags ) : void
SetFlagsOff ( byte &b, int flags ) : void
SetFlagsOn ( byte &b, byte flags ) : void
SetFlagsOn ( byte &b, int flags ) : void
ToggleFlags ( byte &b, byte flags ) : void
ToggleFlags ( byte &b, int flags ) : void

Method Details

HasFlags() public static method

public static HasFlags ( byte b, byte flags ) : bool
b byte
flags byte
return bool

HasFlags() public static method

public static HasFlags ( byte b, int flags ) : bool
b byte
flags int
return bool

HasSomeFlags() public static method

public static HasSomeFlags ( byte b, byte flags ) : bool
b byte
flags byte
return bool

HasSomeFlags() public static method

public static HasSomeFlags ( byte b, int flags ) : bool
b byte
flags int
return bool

SetFlagsOff() public static method

public static SetFlagsOff ( byte &b, byte flags ) : void
b byte
flags byte
return void

SetFlagsOff() public static method

public static SetFlagsOff ( byte &b, int flags ) : void
b byte
flags int
return void

SetFlagsOn() public static method

public static SetFlagsOn ( byte &b, byte flags ) : void
b byte
flags byte
return void

SetFlagsOn() public static method

public static SetFlagsOn ( byte &b, int flags ) : void
b byte
flags int
return void

ToggleFlags() public static method

public static ToggleFlags ( byte &b, byte flags ) : void
b byte
flags byte
return void

ToggleFlags() public static method

public static ToggleFlags ( byte &b, int flags ) : void
b byte
flags int
return void

Property Details

BITS public static property

public static byte[] BITS
return byte[]