EOS_Achievements_PlayerAchievement

EOS API reference page for EOS_Achievements_PlayerAchievement

2 mins to read

This data structure is part of the Achievements Interface.

Remarks

Contains information about a single player achievement.

Properties

EOS_Achievements_PlayerAchievement

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST.
const char* AchievementIdThis achievement's unique identifier.
double ProgressProgress towards completing this achievement (as a percentage).
int64_t UnlockTimeThe POSIX timestamp when the achievement was unlocked. If the achievement has not been unlocked, this value will be EOS_ACHIEVEMENTS_ACHIEVEMENT_UNLOCKTIME_UNDEFINED.
int32_t StatInfoCountThe number of player stat info entries associated with this achievement.
const EOS_Achievements_PlayerStatInfo* StatInfoArray of EOS_Achievements_PlayerStatInfo structures containing information about stat thresholds used to unlock the achievement and the player's current values for those stats.
const char* DisplayNameLocalized display name for the achievement based on this specific player's current progress on the achievement.
const char* DescriptionLocalized description for the achievement based on this specific player's current progress on the achievement.
const char* IconURLURL of an icon to display for the achievement based on this specific player's current progress on the achievement. This may be null if there is no data configured in the dev portal.
const char* FlavorTextLocalized flavor text that can be used by the game in an arbitrary manner. This may be null if there is no data configured in the dev portal.