question

andrzej avatar image
andrzej asked

How to get info about other titles that players has?

Hi,

I wish to check if my players have an account on my other game also on playfab and based on that knowledge allow them to do some staff.

Let's say I have already a number of players in one game, and now I am doing a new game and wish to check on login if the player also has a previous game. If so I will give him an item.

Best,

Player 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

·
Citrus Yan avatar image
Citrus Yan answered

Assuming that you have the title ids of the other game (under the same studio), calling GetTitlePlayersFromMasterPlayerAccountIds with the title ids can tell whether a player has accounts in other titles or not, if it has, it will return the corresponding title_player_entity, else it will return null.

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.