EOS API reference page for EOS_Achievements_CopyAchievementDefinitionByIndex

1분 소요

This function is part of the Achievements Interface.


DEPRECATED! Use EOS_Achievements_CopyAchievementDefinitionV2ByIndex instead. Fetches an achievement definition from a given index.

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

See Also

EOS_Achievements_CopyAchievementDefinitionV2ByIndex, EOS_Achievements_Definition_Release



Parameter Type And NameUsage Information
EOS_HAchievements Handle
const EOS_Achievements_CopyAchievementDefinitionByIndexOptions* OptionsStructure containing the index being accessed
EOS_Achievements_Definition** OutDefinitionThe achievement definition for the given index, 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.

  • EOS_EResult