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

Achievements Class

Static Member Functions

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.
Parameters
name
The api_name of the achievement that will be adding count.
count
The value of count that will be added to the achievement.
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.
Request all achievement definitions for the app.
Request the progress for the user on all achievements in the app.
Request the achievement definitions that match the specified names.
Parameters
names
The api_names(AchievementDefinition.GetName()) of the achievements used to retrieve the definition information.
Request the user's progress on the specified achievements.
Parameters
names
The api_names(AchievementDefinition.GetName()) of the achievements used to retrieve the progress information.
Unlock the achievement with the given name. This can be of any achievement type.
Parameters
name
The api_name of the achievement that will be unlocked.
static Request< Models.AchievementDefinitionList > GetNextAchievementDefinitionListPage
static Request< Models.AchievementProgressList > GetNextAchievementProgressListPage
Did you find this page helpful?
Thumbs up icon
Thumbs down icon