question

Cieran Churcher avatar image
Cieran Churcher asked

Add group members to shared group

Hi, unsure about how to add group members to a shared group so that data can be shared? I can only get the entity IDs of group members and not the Playfab IDs.

entitiesShared Group Data
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

·
Sarah Zhang avatar image
Sarah Zhang answered

Entities are any PlayFab concept that can contain data. Currently we have a number of built-in entity types: Title, master_player_account, title_player_account, Character.

master_player_account - This entity Type allows you to share information about a player across multiple games within a studio. This is similar to UserPublisherData. It is identified by the PlayFab ID (PlayFabId) of the player, which is returned as part of any login or any call to retrieve account information for the player account (for example, the PlayFab Client API GetAccountInfo).

So, the Entity Id of master_player_account is the PlayFab Id of the corresponding player. You can use the master_player_account Id to add group members to the shared group. You can check the doc Entities quickstart for more info of Entity.

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.