Hi I want to create a cloud script , where I want to fetch title data to modify/compare my user data via cloud script.
Can you let me know how to integrate it in cloud script.
Hi I want to create a cloud script , where I want to fetch title data to modify/compare my user data via cloud script.
Can you let me know how to integrate it in cloud script.
In CloudScript (legacy), you can use "server.GetTitleData()" API to get title data and use "server.UpdateUserData()" to update a user's data.
for example:
server.UpdateUserData({
"PlayFabId": "**************",
"Data": {
"Class": "Fighter",
"Gender": "Female",
"Icon": "Guard 3",
"Theme": "Colorful"
},
"Permission": "Public"
});
20 People are following this question.