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/Framework/IClientAPI.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/IClientAPI.cs') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 5687e01..17d9510 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -576,6 +576,9 @@ namespace OpenSim.Framework void SendInstantMessage(LLUUID fromAgent, LLUUID fromAgentSession, string message, LLUUID toAgent, LLUUID imSessionID, string fromName, byte dialog, uint timeStamp); + void SendInstantMessage(LLUUID fromAgent, LLUUID fromAgentSession, string message, LLUUID toAgent, + LLUUID imSessionID, string fromName, byte dialog, uint timeStamp, + byte[] binaryBucket); void SendLayerData(float[] map); void SendLayerData(int px, int py, float[] map); @@ -620,7 +623,7 @@ namespace OpenSim.Framework void SendPrimTerseUpdate(ulong regionHandle, ushort timeDilation, uint localID, LLVector3 position, LLQuaternion rotation, LLVector3 velocity, LLVector3 rotationalvelocity); - + void SendInventoryFolderDetails(LLUUID ownerID, LLUUID folderID, List items, List folders, bool fetchFolders, bool fetchItems); @@ -635,6 +638,14 @@ namespace OpenSim.Framework void SendRemoveInventoryItem(LLUUID itemID); void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName); + + /// + /// Used by the server to inform the client of a new inventory item. Used when transferring items + /// between avatars, possibly among other things. + /// + /// + void SendBulkUpdateInventory(InventoryItemBase item); + void SendXferPacket(ulong xferID, uint packet, byte[] data); void SendAvatarPickerReply(AvatarPickerReplyPacket Pack); -- cgit v1.1