This event is fired when a medal is unlocked on the server.
This event will be an instance of APIEvent
, and contain the following values:
type:String - APIEvent.MEDAL_UNLOCKED
success:Boolean - True if the medal was unlocked
data:Object - Containing the following properties:
medal:Medal - The Medal Instance that was unlocked