Hi,
I've noticed that the character_inventory_item_added Playstream event gives an InstanceID that is not always the ItemInstanceID of the item at rest.
Given a consumable with charges remaining, or that has been consumed to 0, if I grant an item through the Game Manager I will get a new InstanceID that doesn't match up with the existing ItemInstanceID (the granted item is simply added to the existing stack, even if the current stack size = 0). InstanceID matches ItemInstanceID if it is an item that the player has never owned (or has been revoked through the Game Manager). What happens to the non-matching InstanceIDs? How should I think about them?
Also, could you please describe the uniqueness of ItemInstanceID? I apologize if this is answered somewhere, but I wasn't able to find a complete description on the forums in my initial search. Is ItemInstanceID unique across current ids? All ids that have ever existed (including the InstanceIDs that don't seem to go anywhere from above)? Unique on the Title level? etc.
Thanks!
,
Hi,
I've noticed that the character_inventory_item_added Playstream event gives an InstanceID that is not always the ItemInstanceID of the item at rest.
Given a consumable with charges remaining, or that has been consumed to 0, if I grant an item through the Game Manager I will get a new InstanceID that doesn't match up with the existing ItemInstanceID (the granted item is simply added to the existing stack, even if the current stack size = 0). InstanceID matches ItemInstanceID if it is an item that the player has never owned (or has been revoked through the Game Manager). What happens to the non-matching InstanceIDs? How should I think about them?
Also, could you please describe the uniqueness of ItemInstanceID? I apologize if this is answered somewhere, but I wasn't able to find a complete description on the forums in my initial search. Is ItemInstanceID unique across current ids? All ids that have ever existed (including the InstanceIDs that don't seem to go anywhere from above)? Unique on the Title level? etc.
Thanks!