AddCount
(
name
, 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.
Signature
static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.AddCount(string name, ulong count) Parameters name: stringcount: ulongReturns Request< Models.AchievementUpdate > |
AddFields
(
name
, fields
)
|
Unlock fields of a BITFIELD achievement.
Signature
static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.AddFields(string name, string fields) Parameters name: string
The name of the achievement to unlock
fields: string
A string containing either '0' or '1' characters. Every '1' will unlock the field in the corresponding position.
Returns Request< Models.AchievementUpdate > |
GetAllDefinitions
()
| Request all achievement definitions for the app.
Signature
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetAllDefinitions() Returns Request< Models.AchievementDefinitionList > |
GetAllProgress
()
| Request the progress for the user on all achievements in the app.
Signature
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetAllProgress() Returns Request< Models.AchievementProgressList > |
GetDefinitionsByName
(
names
)
| Request the achievement definitions that match the specified names.
Signature
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetDefinitionsByName(string[] names) Parameters names: string []Returns Request< Models.AchievementDefinitionList > |
GetNextAchievementDefinitionListPage
(
list
)
|
Signature
static Request<Models.AchievementDefinitionList> Oculus.Platform.Achievements.GetNextAchievementDefinitionListPage(Models.AchievementDefinitionList list) Parameters Returns Request< Models.AchievementDefinitionList > |
GetNextAchievementProgressListPage
(
list
)
|
Signature
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetNextAchievementProgressListPage(Models.AchievementProgressList list) Parameters Returns Request< Models.AchievementProgressList > |
GetProgressByName
(
names
)
| Request the user's progress on the specified achievements.
Signature
static Request<Models.AchievementProgressList> Oculus.Platform.Achievements.GetProgressByName(string[] names) Parameters names: string []Returns Request< Models.AchievementProgressList > |
Unlock
(
name
)
|
Unlock the achievement with the given name. This can be of any achievement type.
Signature
static Request<Models.AchievementUpdate> Oculus.Platform.Achievements.Unlock(string name) Parameters name: stringReturns Request< Models.AchievementUpdate > |