question

langquang1088 avatar image
langquang1088 asked

Can i save all data of a player in one function call

Hello,
I'm writing a custom server for my game. And I'm confused between two option about saving player's data:
Call some update functions (UpdateUserReadOnlyData, GrantItemsToUser, AddUserVirtualCurrency ...) on my custom server in sequency or call these update functions on cloudscript. I think using cloud script is better because it only do 1 network tranfer.
Could you please give me an advice

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

·
Turner avatar image
Turner answered

Hello!

I would use a CloudScript in this scenario. As a rule of thumb, if you are going to make a server API call it's best to do it via CloudScript, it's much more secure this way.

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.