FlagArrayToBits Function

Converts an array of flags to bits.

int FlagArrayToBits(const AdminFlag[] array, int numFlags)

Parameters

const AdminFlag[] array

Array containing flags that are enabled.

int numFlags

Number of flags in the array.

Return Value

A bit string composed of the array flags.