I already have PlayerProfileViewConstraints appended to the request statement, but when I return it does not contain the user's information.
ClientModels::GetLeaderboardRequest req;
req.StatisticName = leaderboardKey;
req.StartPosition = startPos;
req.MaxResultsCount = maxResult;
PlayerProfileViewConstraints* profileinfo = newPlayerProfileViewConstraints();
profileinfo->ShowAvatarUrl = true;
profileinfo->ShowDisplayName = true;
profileinfo->ShowLocations = true;
// profileinfo->ShowStatistics = true;
req.ProfileConstraints = profileinfo;
Please tell me why or where the error is, the information of the user cannot be returned with the Leaderboard list.
Thank!