EOS_Achievements_PlayerAchievement

EOS API reference page for EOS_Achievements_PlayerAchievement

実装方法を選んでください。

C

C#

This data structure is part of the [Achievements Interface](Interfaces/Achievements).

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.

Related API Members

This data structure is part of the [Achievements Interface](Interfaces/Achievements).

Remarks

Contains information about a single player achievement.

Properties

Achievements.PlayerAchievement

Property

Value

int ApiVersion

API Version: Set this to EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST.

string AchievementId

This achievement's unique identifier.

double Progress

Progress towards completing this achievement (as a percentage).

System.DateTimeOffset? 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.

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.

string DisplayName

Localized display name for the achievement based on this specific player's current progress on the achievement.

string Description

Localized description for the achievement based on this specific player's current progress on the achievement.

string 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.

string 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.

Related API Members

タグ