question

Spektra Games avatar image
Spektra Games asked

GetTitleData vs GetUserData?

I think the documentation of PlayFab is insufficient in some parts. Can someone explain to me what difference between GetTitleData and GetUserData in GetPlayerCombinedInfoRequestParams?

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

·
Made Wang avatar image
Made Wang answered

GetTitleData here can get the readable data in TitleData, and GetUserData can get the readable and writable data in UserData. The default is to get all the data mentioned above, you can also write the keys of the specific data you need to get in TitleDataKeys or UserDataKeys.

UserData is custom data specific to each player. You can view it in Game Manager->Players->[Player]->Player Data(Title). Refer to Player Data - PlayFab | Microsoft Docs to learn more.

TitleData is title-specific custom data, suitable for storing some global constants and static data. You can view it in Game Manager->Content->Title Data. Refer to Title Data - PlayFab | Microsoft Docs to learn more.

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.