Skip to main content

XblAchievementReward

Represents a reward that is associated with the achievement.

Syntax

Members

name
Type: const char*
The UTF-8 encoded localized reward name. description
Type: const char*
The UTF-8 encoded description of the reward. value
Type: const char*
The UTF-8 encoded title-defined reward value (data type and content varies by reward type). rewardType
Type: XblAchievementRewardType
The reward type. valueType
Type: const char*
The UTF-8 encoded property type of the reward value string. mediaAsset
Type: XblAchievementMediaAsset*
The media asset associated with the reward. If the reward type is gamerscore, this will be nullptr. If the reward type is in_app, this will be a media asset. If the reward type is art, this may be a media asset or nullptr.

Member of

XblAchievement

Requirements

Header: achievements_c.h

See also

achievements_c
Last modified on August 4, 2026