Inventory

6 October 2016

  • Release 9.134 - added inventory item UUID and inventory item name.

27 March 2015

  • Release 7.84 - the inventory offer and reply system has been overhauled. As a consequence, the 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

  • Release 7.34 - the inventory notification has been extended to send accept and decline responses as well as inventory offers.
inventory (Notifications)
TypeCorrade progressive notification
Notificationinventory
Datatype, firstname, lastname, agent, name, asset, item, session, direction, action, inventory
StructureInstantMessageEventArgs for items being offered by Corrade and InventoryObjectOfferedEventArgs for items being offered to Corrade.
DescriptionInventory items being offered to Corrade or accepted or declined by Corrade.
Commandsgetinventoryoffers, replytoinventoryoffer
Last ChangesC10 - 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

Note

  • Depending on whether an avatar or an object initiates an inventory transfer:
    • When an avatar initiates an inventory transfer to Corrade, then the inventory item UUID and inventory item name is known and passed by the inventory notification.
    • When an object initiates an inventory transfer to Corrade, then only the message is relayed by the inventory notification which usually contains the inventory item name.

secondlife/scripted_agents/corrade/api/notifications/inventory.txt ยท Last modified: 2023/03/06 10:43 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.