aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs37
1 files changed, 10 insertions, 27 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index e2a3fa7..a7770ad 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -29,7 +29,6 @@ using System;
29using System.Xml; 29using System.Xml;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using OpenMetaverse; 31using OpenMetaverse;
32using OpenMetaverse.Packets;
33using OpenSim.Framework; 32using OpenSim.Framework;
34using OpenSim.Region.Framework.Scenes; 33using OpenSim.Region.Framework.Scenes;
35 34
@@ -41,6 +40,7 @@ namespace OpenSim.Region.Framework.Interfaces
41 /// RezAttachments. This should only be called upon login on the first region. 40 /// RezAttachments. This should only be called upon login on the first region.
42 /// Attachment rezzings on crossings and TPs are done in a different way. 41 /// Attachment rezzings on crossings and TPs are done in a different way.
43 /// </summary> 42 /// </summary>
43 /// <param name="sp"></param>
44 void RezAttachments(IScenePresence sp); 44 void RezAttachments(IScenePresence sp);
45 45
46 /// <summary> 46 /// <summary>
@@ -51,17 +51,16 @@ namespace OpenSim.Region.Framework.Interfaces
51 51
52 /// <summary> 52 /// <summary>
53 /// Delete all the presence's attachments from the scene 53 /// Delete all the presence's attachments from the scene
54 /// </summary>
55 /// <param name="sp">
56 /// This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross). 54 /// This is done when a root agent leaves/is demoted to child (for instance, on logout, teleport or region cross).
57 /// </param> 55 /// </summary>
56 /// <param name="sp"></param>
58 /// <param name="silent"></param> 57 /// <param name="silent"></param>
59 void DeleteAttachmentsFromScene(IScenePresence sp, bool silent); 58 void DeleteAttachmentsFromScene(IScenePresence sp, bool silent);
60 59
61 /// <summary> 60 /// <summary>
62 /// Attach an object to an avatar 61 /// Attach an object to an avatar
63 /// </summary> 62 /// </summary>
64 /// <param name="remoteClient"></param> 63 /// <param name="sp"></param>
65 /// <param name="grp"></param> 64 /// <param name="grp"></param>
66 /// <param name="AttachmentPt"></param> 65 /// <param name="AttachmentPt"></param>
67 /// <param name="silent"></param> 66 /// <param name="silent"></param>
@@ -79,44 +78,28 @@ namespace OpenSim.Region.Framework.Interfaces
79 78
80 // Same as above, but also load script states from a separate doc 79 // Same as above, but also load script states from a separate doc
81 ISceneEntity RezSingleAttachmentFromInventory( 80 ISceneEntity RezSingleAttachmentFromInventory(
82 IClientAPI remoteClient, UUID itemID, uint AttachmentPt, bool updateInventoryStatus, XmlDocument doc); 81 IScenePresence presence, UUID itemID, uint AttachmentPt, bool updateInventoryStatus, XmlDocument doc);
83 82
84 /// <summary> 83 /// <summary>
85 /// Rez multiple attachments from a user's inventory 84 /// Rez multiple attachments from a user's inventory
86 /// </summary> 85 /// </summary>
87 /// <param name="sp"></param> 86 /// <param name="sp"></param>
88 /// <param name="header"></param> 87 /// <param name="rezlist"></param>
89 /// <param name="objects"></param>
90 void RezMultipleAttachmentsFromInventory(IScenePresence sp,List<KeyValuePair<UUID, uint>> rezlist); 88 void RezMultipleAttachmentsFromInventory(IScenePresence sp,List<KeyValuePair<UUID, uint>> rezlist);
91
92 /// <summary>
93 /// Detach an object from the avatar.
94 /// </summary>
95 /// <remarks>
96 /// This method is called in response to a client's detach request, so we only update the information in
97 /// inventory
98 /// </remarks>
99 /// <param name="objectLocalID"></param>
100 /// <param name="remoteClient"></param>
101 void DetachObject(uint objectLocalID, IClientAPI remoteClient);
102 89
103 /// <summary> 90 /// <summary>
104 /// Detach the given item to the ground. 91 /// Detach the given item to the ground.
105 /// </summary> 92 /// </summary>
106 /// <param name="sp"></param> 93 /// <param name="sp"></param>
107 /// <param name="objectLocalID"></param> 94 /// <param name="objectLocalID"></param>
108 void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID); 95 void DetachSingleAttachmentToGround(IScenePresence sp, uint objectLocalID);
109 96
110 /// <summary> 97 /// <summary>
111 /// Detach the given item so that it remains in the user's inventory. 98 /// Detach the given item so that it remains in the user's inventory.
112 /// </summary> 99 /// </summary>
113 /// <param name="itemID"> 100 /// <param name="sp">/param>
114 /// A <see cref="UUID"/> 101 /// <param name="itemID"></param>
115 /// </param> 102 void DetachSingleAttachmentToInv(IScenePresence sp, UUID itemID);
116 /// <param name="remoteClient">
117 /// A <see cref="IClientAPI"/>
118 /// </param>
119 void DetachSingleAttachmentToInv(UUID itemID, IClientAPI remoteClient);
120 103
121 /// Update the position of an attachment. 104 /// Update the position of an attachment.
122 /// </summary> 105 /// </summary>