Hi,
I´m using CloudScript where I´m granting items to user in my method. My method looks like this:
//obtainedItemsList is filled before var GrantItemsToUsersRequest = { "ItemGrants" : obtainedItemsList }; var GrantItemsToUsersResult = server.GrantItemsToUsers(GrantItemsToUsersRequest); return GrantItemsToUsersResult.ItemGrantResults;
The problem is that when I`m parsing result on the client, I´m experiencing unexpected behaviour at GrantedItemInstance property UsesIncrementedBy. From docs I would expect that this property signalizes amount of the added items (or item usages) to the user´s inventory after GrantItemsToUsers call, but I´m seeing something else - for example my inventory is empty, I obtain two shields and UsesIncrementedBy value is three. Sometimes the value fits to real situation but sometimes it differs from real added item usages. Can you tell me more about this behvaiour, please? Could it also be a bug?
All the items I´m obtaining are set to stackable and to consumable by count 1.
Thanks in advance for your answers!