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

Achievements Class

Overview

Details

Static Member Functions

static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.AddCount
( string name,
ulong count )
Add 'count' to the achievement with the given name. This must be a COUNT achievement. The largest number that is supported by this method is the max value of a signed 64-bit integer. If the number is larger than that, it is clamped to that max value before being passed to the servers.
static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.AddFields
( string name,
string fields )
Unlock fields of a BITFIELD achievement.
Parameters
name
The name of the achievement to unlock
fields
A string containing either '0' or '1' characters. Every '1' will unlock the field in the corresponding position.
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetAllDefinitions ( )
Request all achievement definitions for the app.
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetAllProgress ( )
Request the progress for the user on all achievements in the app.
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetDefinitionsByName
( string [] names )
Request the achievement definitions that match the specified names.
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetProgressByName
( string [] names )
Request the user's progress on the specified achievements.
static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.Unlock
( string name )
Unlock the achievement with the given name. This can be of any achievement type.
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetNextAchievementDefinitionListPage
No description available.
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetNextAchievementProgressListPage
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon