My company is currently making a Clash of Clans type game and I've been tasked with implementing the purchasing building and upgrades.
The player requires gold and a builder (both virtual currencies at the moment) to create a building or upgrade it start a timer, which when finished, should complete the build or upgrade it to the next level. Pretty common F2P stuff.
I want to know what would be a good way to approach this with playfabs economy and item management features. Would each level of a building need to be a Catalog Item? How would I create the time stamp on the server for when it the item should be complete? Can I create this timestamp at the same time the item purchase occurs with existing API? Or will I have to create a cloud function that both initiates the purchase and allocates the timestamp?
I'm trying to keep things as server auth as possible.
Cheers!