Hey everyone so I am developing a TGC and need some help planning and figuring out the best approach for a trading system. Essentially the player will have a trade list and a wishlist that looks like this.
The player would click on the card they want to find in their wish list in this case the one circled in green. The player would then be sent to a scene where any user with that card on there for trade section will appear.
The player can then view that players Wishlist, to see if a trade is possible. If two players agree on a trade (Done through messaging system), one of the players would hit trade and select the given cards. Then the other player would receive the trade and add their cards to trade. The trade then gets sent back to the player that initiated the trade to accept or refuse the trade. The traded cards then get sent to their new owners. The whole system is very similar and essentially a simpler version of the trade system found in this video here.
The biggest hurdle I'm facing has to do with the wish list aspect. Is there a simple way to implement this? Would it have to be stored as playerData JSON? And if so can you even search all players through that without killing your API calls?
I also see PlayFab has some trading features built in, but not sure how I would implement them in this exact scenario.
Any help here would be appreciated and would love if someone can help steer me in the right direction.
Thanks!