USER_ROLE_NAMES: {
    "0": "NONE";
    "1": "PLAYER";
    "2": "TRUSTED";
    "3": "ASSISTANT";
    "4": "GAMEMASTER";
} = ...

Invert the User Role mapping to recover role names from a role integer

Type declaration

  • 0: "NONE"
  • 1: "PLAYER"
  • 2: "TRUSTED"
  • 3: "ASSISTANT"
  • 4: "GAMEMASTER"