Idea

brendan avatar image
brendan suggested

Get remaning time till 1 Virtual Currency unit is replenished?

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 Comment

·
brendan avatar image
brendan commented

darkgolemgames
started a topic on Fri, 13 February 2015 at 9:42 PM

Is there an API call for that?


Best Answer
Brendan Vanous said on Sat, 14 February 2015 at 2:32 AM

Not right now, but that's a good notion, for games which have very long currency regeneration times. I'll add it to the backlog.

Brendan


13 Comments
Brendan Vanous said on Sat, 14 February 2015 at 2:32 AM

Not right now, but that's a good notion, for games which have very long currency regeneration times. I'll add it to the backlog.

Brendan


darkgolemgames said on Wed, 18 February 2015 at 11:15 AM

Any idea of when this will be implemented? I saw someone already requested it 2 months ago.

https://support.playfab.com/support/discussions/topics/1000039467

Pretty much every game that uses regenerating virtual currency tells the player how long it will be until the next recharge.


Brendan Vanous said on Thu, 19 February 2015 at 12:36 AM

We prioritize all work based upon the input from our developer community. While I agree that this would be a good addition, the truth is that we're not hearing this as a request from hardly anyone, so it hasn't been prioritized as yet.


jmeador said on Thu, 16 April 2015 at 5:15 PM

We'd like this feature as well!


Kyledouglasolsen said on Thu, 16 April 2015 at 8:46 PM

We would also like to have this implemented.


jonnybee12345 said on Wed, 22 April 2015 at 5:03 AM

Agreed, this would be very useful. Currently using client -> secure admin server -> playfab to award virtual currency on a timer.


darkgolemgames said on Wed, 22 April 2015 at 5:05 AM

Nice lots of people wanting it! Maybe they'll implement it soon then :)


Brendan Vanous said on Tue, 28 April 2015 at 2:38 PM

This is now in place - the GetUserInventory and GetUserCombinedInfo calls, as well as the Matchmaker/UserInfo call (basically, all the places you get the list of VC balances the player has for the title) all return VirtualCurrencyRechargeTimes, which is a structure containing the SecondsToRecharge and RechargeTime (the latter being a timestamp) of the next recharge for the player. Not that for a Server or Admin call, the RechargeTime can be in the past, if the user hasn't signed in for more than the time it takes to recharge one unit of a VC. As always, do let us know if you see any issues.


jmeador said on Thu, 30 April 2015 at 6:39 PM

This is great! Thanks you guys.

One additional request: can the VirtualCurrencyRechargeTimes also contain the max refill number? That way we can know a person is all full, etc. Otherwise we need to grab that data via another source.

Thanks again!


Brendan Vanous said on Thu, 30 April 2015 at 6:49 PM

Excellent point - we'll add this to the backlog, and reply here when this has been added.


Brendan Vanous said on Fri, 08 May 2015 at 5:07 PM

Okay, the update to add the RechargeMax is also being returned, now - enjoy!


jmeador said on Fri, 08 May 2015 at 5:11 PM

Thanks!!


darkgolemgames said on Fri, 08 May 2015 at 5:50 PM

Nice. That was fast.

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 a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas