I have a game that is only saved when online. I want to offer players a 'progress buff' in exchange for the time they were offline. So my question is this:
What is the best way to count the amount of time they were 'offline'? Since the game saves data very frequently while online I can combine data calls. So basically it would be the time between the last time data was saved and the time of the current login.
The only way I can see how to do it is use the 'GetTime' call before I save data and then 'save' the current time as a variable, then load that variable next time the player logs in and compare values with a fresh 'GetTime' call.
Is there a better way to do this?