Get Gametype name.
The Gametype to get the name of.
The Gametype name.
Thrown if the Gametype is invalid.
const gametype = getGametypeName(Gametype.SURVIVAL);console.log(gametype); // 'Survival' Copy
const gametype = getGametypeName(Gametype.SURVIVAL);console.log(gametype); // 'Survival'
Get Gametype name.