I try GetCharacterData but the result doesn't contain character's name.
I try GetCharacterData but the result doesn't contain character's name.
The GetCharacterData call is for retrieving the custom data set on that character. The GetAllUsersCharacters call is the one that returns the basic info about the player's characters, including their names.
So I get all character''s info first, and then search for specific one? No API for getting one character basic info by character id?
The amount of data is extremely small - just ID, Name, and Type. So getting all the player's characters in one call is the most efficient path. The array returned can then be iterated on trivially to get the specific info for each character. Is there something specific about your scenario that makes this an inefficient process? What all do you need to do with the character info?
2 People are following this question.