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

OVR_AchievementDefinition.h File

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 ovr_Achievements_GetAllDefinitions().

Typedefs

struct ovrAchievementDefinition * ovrAchievementDefinitionHandle

Functions

It is required for bitfield achievements: ovrAchievement_TypeBitfield(). This represents the size of the bitfield for this achievement.
A string of the api name of the achievement. It can be used to get the achievement progress by name by the function ovr_Achievements_GetProgressByName().
This is the type of achievement. There are three types of achievement: ovrAchievement_TypeSimple() - unlocked by completion of a single event or objective, ovrAchievement_TypeBitfield() - unlocked when a number of bits in a bitfield are set, and ovrAchievement_TypeCount() - unlocked when a counter reaches a defined target.
unsigned long long ovr_AchievementDefinition_GetTarget
Did you find this page helpful?
Thumbs up icon
Thumbs down icon