Badges in r4nkt are given to a player when an achievement has been earned. That is to say, when an achievement's criteria have been met, then a badge is awarded.
Badges have the following properties:
A badge is given to a player to show that they have met the criteria for a given achievement. It is represented by the badge's
custom_achievement_id property, which corresponds to the achievement's
The player that has earned the badge is represented by the badge's
custom_player_id property, which is the player's
If a badge was earned within the context of a session, then that custom session ID will be provided.