API reference
API reference
Select your platform
No SDKs available
No versions available

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 )
This indicates if this update caused the achievement to unlock.
Returns
boolean
The unique com.meta.horizon.platform.ovr.models.AchievementDefinition#getName() used to reference the updated achievement, as specified in the developer dashboard.
Returns
String
Did you find this page helpful?
Thumbs up icon
Thumbs down icon