This function turns an array of Mods into a number that the API server can understand
Mods
An array of Mods that will be turned into bits
A number representing the Mods, or null if the array is empty
null
One useful thing about it is the distinction made between [] (lack of mods) and [Mods.NOMOD]; specifying the nomod mod can alter requests
[]
[Mods.NOMOD]
This function turns an array of
Mods
into a number that the API server can understand