This data structure is part of the Achievements Interface.
Remarks
Contains information about a single player achievement.
Properties
EOS_Achievements_PlayerAchievement
Property | Value |
---|---|
int32_t ApiVersion | API Version: Set this to EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST. |
const char* AchievementId | This achievement's unique identifier. |
double Progress | Progress towards completing this achievement (as a percentage). |
int64_t UnlockTime | The 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 StatInfoCount | The number of player stat info entries associated with this achievement. |
const EOS_Achievements_PlayerStatInfo* StatInfo | Array 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* DisplayName | Localized display name for the achievement based on this specific player's current progress on the achievement. |
const char* Description | Localized description for the achievement based on this specific player's current progress on the achievement. |
const char* IconURL | URL 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* FlavorText | Localized 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. |