Desculpe o meu inglês, mas sou brasileiro e estou usando o Google Tradutor. E eu gostaria de saber como solicitar o avatarurl usando o ClientModels?
Desculpe o meu inglês, mas sou brasileiro e estou usando o Google Tradutor. E eu gostaria de saber como solicitar o avatarurl usando o ClientModels?
The request model in your code, the field ProfileConstraints is not necessary in most cases, but if you want to retrieval the Avatar URL, you need to fill in it.
new GetPlayerProfileRequest { PlayFabId = "hereyourid", ProfileConstraints = { ShowAvatarUrl = true } };
And in server side, there are options in Playfab to allow which properties can be accessed from the client, so you can configure it in the GameManager "Client Profile Options" tab in the "Settings" section.
If you can't understand the workaround through translation, please feel free to ask questions.
3 People are following this question.