[]
Sets the flags by mask.
public static void SetFlag(ref int flags, int flagMask, bool value)
The flag to set.
The flag mask.
If true to set flag; reset otherwise.