Quote:
Originally Posted by Mitchell
Not sure what limitation because i haven't seen this store yet, but you can add the DISABLED flag on the menu so you cant select it..
|
That's not the problem. The problem is that right now we have two different async APIs for getting items:
Store_GetItems (item definitions) and
Store_GetUserItems (user items). When displaying the shop menu, I'm using
Store_GetItems, but to know whether or not a player has a specific item I'll need to use another API (
Store_GetUserItems or
Store_HasItem). Remember that they're both async, so it's difficult to call them from the
Store_GetItems API to both get item definitions and user items.
__________________