hi,
I am working on a card game and have a screen like a traditional TCG where the player can create a deck based on the cards that they own.
When the user presses "Save Deck" button, I am using UpdateUserData to save a JSON version of the deck.
This seems OK, but how can I validate that when they actually own all the cards in the deck? I can check internally to see if they opened and owned those cards, but where do I do that validation logic prior to allowing the Save? Or is this not something PlayerData is suited for, and if so, what is the best alternative? Do I have to use Azure Function + Cosmos to store the deck info and validate with server side logic?
Thanks