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

AchievementDefinition Class

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.

Constructors

AchievementDefinition ( o )
Signature
Oculus.Platform.Models.AchievementDefinition.AchievementDefinition(IntPtr o)
Parameters
o: IntPtr

Fields

BitfieldLength : readonly uint
Signature
readonly uint Oculus.Platform.Models.AchievementDefinition.BitfieldLength
Name : readonly string
The name of the achievement.
Signature
readonly string Oculus.Platform.Models.AchievementDefinition.Name
Target : readonly ulong
Signature
readonly ulong Oculus.Platform.Models.AchievementDefinition.Target
Type : readonly AchievementType
This is the type of achievement. There are three types of achievement: AchievementType.Simple - unlocked by completion of a single event or objective, AchievementType.Bitfield - unlocked when a number of bits in a bitfield are set, and AchievementType.Count - unlocked when a counter reaches a defined target.
Signature
readonly AchievementType Oculus.Platform.Models.AchievementDefinition.Type