offer_inventory

Inventory offer coming from another avatar or object.

Incoming and outgoing parameters

The input parameters are sent to your HTTP script along with this event. Output parameters (if any) should be generated by your script.

Input parameters

Parameter

Required

Value

action

yes

= offer_inventory

bot_name

yes

the SL name of your bot

channel

yes

the unique bot id

cid

yes

internal HTTP connection identifier (you can ignore this value)

Input parameters specific for offer_inventory

Parameter

Required

Description

asset_type

yes

The inventory item type: Object, Skin, Animation, etc.

offer_type

yes

(reserved)

folder

yes

The receiving folder UUID

sender_name

yes

Sender's name (avatar or object name)

sender_uuid

yes

Sender's UUID

sender_type

yes

Type of the sender: OBJECT or AGENT

object

yes

Received inventory object UUID

session

yes

Session UUID (SL data)

message

yes

Message received along with the offer

Accepting offer

Use HTTP API to accept or reject an offer.