question

David Bardos avatar image
David Bardos asked

PlayFabClientAPI.GetUserData works with display player id but not with the entity id that returns the login call... is it the right behavior?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

PlayFab mainly provides two types of APIs, which are Classic APIs and Entity APIs. Classic APIs are Client APIs, Server APIs and etc. In terms of Entity APIs, they are comparatively new and new features like Multiplayer 2.0 , entity group and those who will require entity token will use the Entity Model.

In the classic API, we will only use PlayerId for reference, and there are many entity types in the new Entity Data Model, please refer to Available built-in entity types. PlayerId equals to master_player_account, meanwhile for most of Entity APIs, title_player_account is required for reference. And it is why Client API GetUserData can only use PlayerId (or master_player_account) for the call.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.