BadgeService:AwardBadge uses deprecated functions

The current code sample on how to award a badge under the AwardBadge function uses the deprecated functions IsLegal and IsDisabled. Instead, the code sample should GetBadgeInfoAsync to check if the badge is enabled.


In addition, the description of the function directs developers to use IsLegal and IsDisabled despite the functions being deprecated in favor of GetBadgeInfoAsync.

6 Likes