Function xboxone_gamertag_for_user returns empty string for valid uid
Opened this issue · 2 comments
andrew171717 commented
andrew171717 commented
I attempted to change line 861 in YoYo_FunctionsM.cpp:
from YYCreateString(&Result, user->ModernGamertag);
to YYCreateString(&Result, user->DisplayName);
and I now receive the display name that I expected to see. I'm not sure what ModernGamertag
is supposed to return as I didn't really look into the code, but I wanted to share my results nonetheless.
Prazon commented
Thanks for the fix, I'm not sure what the difference is as the GDK docs refer to the modern gamertag as a DisplayName