Since engine version: 1.0 OC
Returns the new bit mask with the bit at position bit_number replaced by bit.
int SetBit(int old_value, int bit_number, bool bit);
- Old value of the bit masc
- The bit to change
- The new value of the bit