6 October 2016
27 March 2015
inventory
notification has been changed: in case an inventory offer comes from an agent, then the firstname
, lastname
will be present in the return keys. Otherwise, the name of the object will be passed to the name
key. Furthermore, the item name is passed along for inventory offers in the key item
.21 December 2014
inventory
notification has been extended to send accept and decline responses as well as inventory offers.inventory (Notifications) | |
---|---|
Type | Corrade progressive notification |
Notification | inventory |
Data | type , firstname , lastname , agent , name , asset , item , session , direction , action , inventory |
Structure | InstantMessageEventArgs for items being offered by Corrade and InventoryObjectOfferedEventArgs for items being offered to Corrade. |
Description | Inventory items being offered to Corrade or accepted or declined by Corrade. |
Commands | getinventoryoffers, replytoinventoryoffer |
Last Changes | C10 - added created action. |
Data | Description |
---|---|
type | The type of the notification. |
firstname | In case an agent is sending the asset: the first name of the avatar sending the asset. |
lastname | In case an agent is sending the asset: the last name of the avatar sending the asset. |
agent | The UUID of the avatar sending the asset or the UUID of the owner of the object sending the asset. |
name | In case an object is sending the asset: the name of the object sending the asset. |
asset | The asset type being offered. |
item | The name of the item being offered or accepted or declined. |
inventory | The inventory UUID of the inventory item. |
session | The session UUID of the inventory offer. |
direction | Set to either reply in case this is reply to inventory offered by Corrade or offer in case this an inventory offer that Corrade receives. |
action | In case the direction is reply (as in, an inventory item sent by Corrade being accepted or rejected) then action has the possible values accept or reject . action is set to create when a rezzed object is taken to inventory, an item is created in the inventory or an object is purchased |