question

Tigerishwillo avatar image
Tigerishwillo asked

Reset GetHighestNumber

I may be missing something obvious here but.... Using Unity and WhisperSync. I'd like to know if it's possible to reset a syncable number. My specific problem is to do with GetHighestNumber and GetLowestNumber. If your data is saved on WhisperSync and numbers are outwith the normal bounds of your game (which may have happened during testing) how do you then reset them to be within the normal bounds or back to 0? i.e. gameData.GetHighestNumber(key).Set(1000); //set value to 1000 by mistake should only be 500 AGSWhispersyncClient.Synchronize(); gameData.GetHighestNumber(key).AsInt(); //returns 1000 gameData.GetHighestNumber(key).Set(500); //set value to 500 AGSWhispersyncClient.Synchronize(); gameData.GetHighestNumber(key).AsInt(); //returns 1000 I'm always going to get 1000 back from now on, how can I reset this?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Williamson, Thank you for writing to us. Our current best practices suggest creating a new Amazon account during testing and clearing application data on the device. Right now there is no public API to reset the numbers stored in cloud.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tigerishwillo avatar image
Tigerishwillo answered
Thanks for getting back to me Sujoy. Can I suggest this as a feature for a future release? It would be very useful during the testing phase. Andy
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Thank you for taking the time to send us your feedback. We will share it with the appropriate internal teams.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tigerishwillo avatar image
Tigerishwillo answered
Thank you.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.