From 92c88121c72386f85472c6cf4891eca8b62b9867 Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Tue, 4 Oct 2011 14:40:39 -0700 Subject: Removed all refs to IClientAPI from IAttachmentsModule. Separated client handlers for attachments to call public interface and rearranged module file into sections --- .../Framework/Interfaces/IAttachmentsModule.cs | 31 +++++++--------------- 1 file changed, 9 insertions(+), 22 deletions(-) (limited to 'OpenSim/Region/Framework/Interfaces') diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs index 1a0423f..e668dae 100644 --- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs @@ -28,7 +28,6 @@ using System; using System.Collections.Generic; using OpenMetaverse; -using OpenMetaverse.Packets; using OpenSim.Framework; using OpenSim.Region.Framework.Scenes; @@ -40,6 +39,7 @@ namespace OpenSim.Region.Framework.Interfaces /// RezAttachments. This should only be called upon login on the first region. /// Attachment rezzings on crossings and TPs are done in a different way. /// + /// void RezAttachments(IScenePresence sp); /// @@ -50,17 +50,16 @@ namespace OpenSim.Region.Framework.Interfaces /// /// Delete all the presence's attachments from the scene - /// - /// /// This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross). - /// + /// + /// /// void DeleteAttachmentsFromScene(IScenePresence sp, bool silent); /// /// Attach an object to an avatar /// - /// + /// /// /// /// @@ -80,34 +79,22 @@ namespace OpenSim.Region.Framework.Interfaces /// Rez multiple attachments from a user's inventory /// /// - /// - /// + /// void RezMultipleAttachmentsFromInventory(IScenePresence sp,List> rezlist); - - /// - /// Detach an object from the avatar. - /// - /// - /// This method is called in response to a client's detach request, so we only update the information in - /// inventory - /// - /// - /// - void DetachObject(uint objectLocalID, IClientAPI remoteClient); /// /// Detach the given item to the ground. /// - /// + /// /// void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID); /// /// Detach the given item so that it remains in the user's inventory. /// - /// /param> - /// - void DetachSingleAttachmentToInv(UUID itemID, IClientAPI remoteClient); + /// /param> + /// + void DetachSingleAttachmentToInv(IScenePresence sp, UUID itemID); /// /// Update the position of an attachment. -- cgit v1.1