if UnlockMask bitwise-and UnlockBits equals UnlockMask then), and if so, unlocks the things in that set. which it unlocks, and the UnlockMask required to unlock it.
This unlockable content is implemented as follows:
People who pre-ordered the game got a code or two, and codes are also available through other promotional sources. Dawn of War II has unlockable content that is certain maps, campaign wargear, army painter colours and so on are locked by default, and have to be unlocked using special codes.