Few questions regarding Cloud Script:
(Sorry If they are answered elsewhere, but I have searched in the documentation and forums without luck, please provide me a link if they are already documented or answered)
1) When I use the function log.debug or log.info in a cloud script, where are the messages stored? I read somewhere that they are stored in a file, where is it exactly?
2) I'm trying to use cloud script to validate the objects a client is trying to set to its player entity (title_player_account)
The client is using the SetObjects function from the API.
Then I set up a handler in my cloud script and created a new rule that triggers when SetObjects is called on a title_player_account.
The question is: How can I pass the arguments the client provided (i.e. the objects) to the cloud code function so that I can do some sort of validation?
3) If I decided to change the objects the client provided, how can I (a) Submit the change to the entity's objects? (b) notify the client about the change with the SetObjectsResponse callback?