Players in my game have 2 inventories, a small item pouch on their character and an item box with unlimited space. Players can retrieve/deposit items from either inventory whenever they want, but they reach the request limit very easily by doing this and as a result, their actions don't get saved to playfab.
So I thought I would just batch all operations and only send to playfab when the batch becomes full, but unfortunately I can't seem to do that. Operations take place on both inventories all the time so I can't use ExecuteInventoryOperationsAsync
as the ExecuteInventoryOperationsRequest
only takes one CollectionId
. I can't keep 2 ExecuteInventoryOperationsAsync
either because the transactions rely on the other inventory to be up to date, if I fire one ExecuteInventoryOperationsAsync
for the Item Pouch while the Item Box isn't up to date yet I will just get a Items not found in collection
error.
what do?