UserThinTrophy
The UserThinTrophy
entity is a thin subset of the Trophy
model. These entities are generally returned when using the getUserTrophiesEarnedForTitle()
function.
Name | Type | Description |
---|---|---|
trophyId | number | Unique ID for this trophy (unique within the title and not just the group). |
trophyHidden | boolean | true if this is a secret trophy (ie. further details are not displayed by default unless earned). |
earned | boolean | true if this trophy has been earned. |
earnedDateTime | string | An ISO 8601 string representing the date the trophy was earned. Only truthy if earned is true . ex- "2021-08-15T21:22:08Z" |
trophyType | "bronze" | "silver" | "gold" | "platinum" | The trophy grade. |
trophyRare | TrophyRarity | Rarity of the trophy. |
trophyEarnedRate | string | Percentage of all users who have earned the trophy. |
trophyProgressTargetValue | string | If the trophy tracks progress towards unlock, this is the total required to achieve the unlock. This is included on PS5 titles only, and only if the trophy itself tracks progress (ex: Diablo II: Resurrected). |
trophyRewardImageUrl | string | URL for the graphic associated with the reward. This is included on PS5 titles only, and is only returned if the trophy has a reward associated with it. |
trophyRewardName | string | Name of the reward that earning the trophy grants. This is included on PS5 titles only, and only if the trophy itself has a reward associated with it. |