Hi, my name is Víctor and I've created a Custom Data type named "Pet" for my game.
The objective is to relate multiple "pets" to a player and I'm wondering the best way to do it.
At the university we learned Relational DataBases but GameSparks implementation is NoSql I guess so the idea I got is to create an attribute named "userID" in 'Pet' class but maybe there are better ways to do this...
Any idea plis ? I know that GameSparks gives you a Player class in System Collection so I can create private data and put all the pets of the player in a JSON, is a good idea ? There will be no problems with the dimensions of the data if a player have hundreds of pets ?
You should find this guide on updating game data documents quite useful. Please read through it and let us know if you have any further questions.