EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId

EOS API reference page for EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId

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

C

C#

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

Remarks

Fetches an achievement definition from a given achievement ID.

Return Value

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

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

  • EOS_NotFound if the achievement definition is not found

  • EOS_Invalid_ProductUserID if any of the userid options are incorrect

See Also

EOS_Achievements_DefinitionV2_Release

Parameters

EOS_Achievements_CopyAchievementDefinitionV2ByAchievementId

Parameter Type And Name

Usage Information

EOS_HAchievements Handle

const EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdOptions* Options

Structure containing the achievement ID being accessed

EOS_Achievements_DefinitionV2** OutDefinition

The achievement definition for the given achievement ID, if it exists and is valid, use EOS_Achievements_Definition_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.

Related API Members

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

Remarks

Fetches an achievement definition from a given achievement ID.

Return Value

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

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

  • EOS_NotFound if the achievement definition is not found

  • EOS_Invalid_ProductUserID if any of the userid options are incorrect

See Also

EOS_Achievements_DefinitionV2_Release

Parameters

Achievements.AchievementsInterface.CopyAchievementDefinitionV2ByAchievementId

Parameter Type And Name

Usage Information

CopyAchievementDefinitionV2ByAchievementIdOptions options

Structure containing the achievement ID being accessed

DefinitionV2 outDefinition

The achievement definition for the given achievement ID, if it exists and is valid, use EOS_Achievements_Definition_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.

Related API Members

タグ