Hi all!
So, I'm starting my journey with Economy v2 (or rather, restarting after a short break). I have things working well. The thing is, my studio has multiple titles (for the same game, just different requirements: Development, QA, Live, etc.)
I was testing it on Dev, and currently, there are only a few items, so I have no issue manually copying it over just yet... but there's going to come a time when it's a going to be more than just a few, and I honestly don't have time for that, and/or want to make any human mistakes.
If the Catalog works on Dev, I want to copy that sucker to the other titles.
JSON download/upload looked interesting, but that was a thing in Economy v1...so how can we do it quickly in v2 using Game Manager?
On a side note to anyone else looking and may run into the same issue, hopefully, this saves you a little bit of time. I had originally been doing lookups with the ItemID on the Player's Inventory...but guess what, each time you create something, it's a new ID, including in the new titles... which led me to use the Friendly ID field for my lookups. HOWEVER...sadly... the Friendly ID is not so friendly, and doesn't transfer over to Inventory, why that's not a thing is beyond me. So, I have to not only cache my Player's Inventory, but also the whole Catalog (which in hindsight, I'd probably want to do anyway, too bad it's only max 50 at a time), and then in my logic do some conversions for the lookups, using the Friendly ID in my Data Table.
And why? So that when you create a new item in another title, you can use the same Friendly ID and use that for your lookup because you are going to have a different Item ID (and least if you do it manually via Game Manager).