API reference

horizon.platform.achievements.models

Updated: Oct 30, 2025

Package-level declarations

Types

NameSummary
interface AchievementDefinition
An AchievementDefinition defines an achievement; this includes its name and how it is unlocked. For an individual user’s progress in unlocking an achievement, see AchievementProgress. It can be retrieved using horizon.platform.achievements.Achievements.getAllDefinitions.
interface AchievementDefinitionArray
An AchievementDefinition defines an achievement; this includes its name and how it is unlocked. For an individual user’s progress in unlocking an achievement, see AchievementProgress. It can be retrieved using horizon.platform.achievements.Achievements.getAllDefinitions.
interface AchievementProgress
The unlock progress of a particular achievement can be retrieved using horizon.platform.achievements.Achievements.getAllProgress. It can be used to display the progress of each achievement in your game. See the following link for more information.
interface AchievementProgressArray
The unlock progress of a particular achievement can be retrieved using horizon.platform.achievements.Achievements.getAllProgress. It can be used to display the progress of each achievement in your game. See the following link for more information.
interface AchievementUpdate
Represents an update to an existing achievement. It will be the payload if there is any updates on achievements, as unlocking an achievement by horizon.platform.achievements.Achievements.unlock, adding ‘count’ to the achievement by horizon.platform.achievements.Achievements.addCount, and unlocking fields of a BITFIELD achievement by horizon.platform.achievements.Achievements.addFields.