EOS_Achievements_CopyUnlockedAchievementByAchievementId

EOS API reference page for EOS_Achievements_CopyUnlockedAchievementByAchievementId

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

C

C#

This function is part of the Achievements Interface.

Remarks

DEPRECATED! Use EOS_Achievements_CopyPlayerAchievementByAchievementId instead. Fetches an unlocked achievement from a given achievement ID.

Return Value

  • EOS_Success if the information is available and passed out in OutAchievement

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_NotFound if the unlocked achievement is not found

See Also

EOS_Achievements_UnlockedAchievement_Release

Parameters

EOS_Achievements_CopyUnlockedAchievementByAchievementId

Parameter Type And Name

Usage Information

EOS_HAchievements Handle

const EOS_Achievements_CopyUnlockedAchievementByAchievementIdOptions* Options

Structure containing the Epic Online Services Account ID and achievement ID being accessed

EOS_Achievements_UnlockedAchievement** OutAchievement

The unlocked achievement data for the given achievement ID, if it exists and is valid, use EOS_Achievements_UnlockedAchievement_Release when finished

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.

This function is part of the Achievements Interface.

Remarks

DEPRECATED! Use EOS_Achievements_CopyPlayerAchievementByAchievementId instead. Fetches an unlocked achievement from a given achievement ID.

Return Value

  • EOS_Success if the information is available and passed out in OutAchievement

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_NotFound if the unlocked achievement is not found

See Also

EOS_Achievements_UnlockedAchievement_Release

Parameters

Achievements.AchievementsInterface.CopyUnlockedAchievementByAchievementId

Parameter Type And Name

Usage Information

CopyUnlockedAchievementByAchievementIdOptions options

Structure containing the Epic Online Services Account ID and achievement ID being accessed

UnlockedAchievement outAchievement

The unlocked achievement data for the given achievement ID, if it exists and is valid, use EOS_Achievements_UnlockedAchievement_Release when finished

If successful, this function provides data to the caller through an output parameter. The EOS SDK will automatically handle releasing the data when your code no longer holds any reference to it; you do not need to call a "Release" function.

タグ