API reference

OVR_AchievementProgress.h File

Typedefs

struct ovrAchievementProgress * ovrAchievementProgressHandle
The unlock progress of a particular achievement can be retrieved using ovr_Achievements_GetAllProgress(). It can be used to display the progress of each achievement in your game. See the following link for more information.

Functions

const char * ovr_AchievementProgress_GetBitfield
If the type of the achievement is ovrAchievement_TypeBitfield it represents the current bitfield state that the achievement has reached.
unsigned long long ovr_AchievementProgress_GetCount
If the type of the achievement is ovrAchievement_TypeCount, it represents the current counter state that the achievement has reached.
bool ovr_AchievementProgress_GetIsUnlocked
If the user has already unlocked this achievement.
const char * ovr_AchievementProgress_GetName
The unique string that you use to reference the achievement in your app, as specified in the developer dashboard. It can be retrieved using ovr_AchievementDefinition_GetName().
unsigned long long ovr_AchievementProgress_GetUnlockTime
If the achievement is unlocked, the time when it was unlocked.