API reference

AchievementUpdate Class

Represents an update to an existing achievement. It will be the payload if there is any updates on achievements, as unlocking an achievement by com.meta.horizon.platform.ovr.requests.Achievements#unlock(String name), adding 'count' to the achievement by com.meta.horizon.platform.ovr.requests.Achievements#addCount(String name, long count), and unlocking fields of a BITFIELD achievement by com.meta.horizon.platform.ovr.requests.Achievements#addFields(String name, String fields).

Member Functions

AchievementUpdate
( final long ptr )
boolean getJustUnlocked ( )
This indicates if this update caused the achievement to unlock.
Returns
boolean
String getName ( )
The unique com.meta.horizon.platform.ovr.models.AchievementDefinition#getName() used to reference the updated achievement, as specified in the developer dashboard.
Returns
String