I access the Cloud Save service only from the side of the game server.
I want to bring all player data to the correct state when updating the server. Can I use Cloud Code to go through all the players and modify their data?
Hi FrostGateDeveloper, we’re actually just in the process now of developing an endpoint to return all players who have data in Cloud Save - once that’s complete you’ll be able to use that to iterate through players and update their state from Cloud Code!
I’ll update here once the functionality has been added to the Cloud Save SDK in Cloud Code.
Hi devingunity the funtionality on Cloud Code to return all players who have data in Cloud Save is ready? Could you give me an example of how it is used using Cloud Script Js?
Just be aware that execution run times in Cloud Code are currently limited to 15 seconds which may not be enough time for you to process all players (depending on total number and the operations needed to perform on the player data) in one batch operation.
Hello, @devingunity . I’m wondering if the funtionality on Cloud Code to return all players who have data in Cloud Save is ready?