From dfe5e9d4ebb705d0c20d6260bae5d11659ac904d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 7 Apr 2008 01:46:00 +0000 Subject: * EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving * Now you can drag an object from your inventory and give it to another avatar * !!! Use at your own risk !!! Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it) * Also, items for the receiving end up in their root folder rather than the objects folder --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 3f090df..9901a50 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -270,6 +270,12 @@ namespace OpenSim.Region.Examples.SimpleModule LLUUID imSessionID, string fromName, byte dialog, uint timeStamp) { } + + public virtual void SendInstantMessage(LLUUID fromAgent, LLUUID fromAgentSession, string message, LLUUID toAgent, + LLUUID imSessionID, string fromName, byte dialog, uint timeStamp, + byte[] binaryBucket) + { + } public virtual void SendLayerData(float[] map) { @@ -388,6 +394,11 @@ namespace OpenSim.Region.Examples.SimpleModule public virtual void SendRemoveInventoryItem(LLUUID itemID) { } + + /// IClientAPI.SendBulkUpdateInventory(InventoryItemBase) + public virtual void SendBulkUpdateInventory(InventoryItemBase item) + { + } public virtual void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName) { -- cgit v1.1