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.cs15
1 files changed, 10 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index d9901bd..2f5ff9b 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Xml;
29using System.Collections.Generic; 30using System.Collections.Generic;
30using OpenMetaverse; 31using OpenMetaverse;
31using OpenSim.Framework; 32using OpenSim.Framework;
@@ -89,7 +90,8 @@ namespace OpenSim.Region.Framework.Interfaces
89 /// <param name="addToInventory">If true then add object to user inventory</param> 90 /// <param name="addToInventory">If true then add object to user inventory</param>
90 /// <param name="append">Append to attachment point rather than replace.</param> 91 /// <param name="append">Append to attachment point rather than replace.</param>
91 /// <returns>true if the object was successfully attached, false otherwise</returns> 92 /// <returns>true if the object was successfully attached, false otherwise</returns>
92 bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool addToInventory, bool append); 93 bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent,
94 bool addToInventory, bool append);
93 95
94 /// <summary> 96 /// <summary>
95 /// Rez an attachment from user inventory and change inventory status to match. 97 /// Rez an attachment from user inventory and change inventory status to match.
@@ -98,7 +100,11 @@ namespace OpenSim.Region.Framework.Interfaces
98 /// <param name="itemID"></param> 100 /// <param name="itemID"></param>
99 /// <param name="AttachmentPt"></param> 101 /// <param name="AttachmentPt"></param>
100 /// <returns>The scene object that was attached. Null if the scene object could not be found</returns> 102 /// <returns>The scene object that was attached. Null if the scene object could not be found</returns>
101 SceneObjectGroup RezSingleAttachmentFromInventory(IScenePresence sp, UUID itemID, uint AttachmentPt); 103 ISceneEntity RezSingleAttachmentFromInventory(IScenePresence sp, UUID itemID, uint AttachmentPt);
104
105 // Same as above, but also load script states from a separate doc
106 ISceneEntity RezSingleAttachmentFromInventory(
107 IScenePresence presence, UUID itemID, uint AttachmentPt, XmlDocument doc);
102 108
103 /// <summary> 109 /// <summary>
104 /// Rez multiple attachments from a user's inventory 110 /// Rez multiple attachments from a user's inventory
@@ -106,7 +112,7 @@ namespace OpenSim.Region.Framework.Interfaces
106 /// <param name="sp"></param> 112 /// <param name="sp"></param>
107 /// <param name="rezlist"></param> 113 /// <param name="rezlist"></param>
108 void RezMultipleAttachmentsFromInventory(IScenePresence sp,List<KeyValuePair<UUID, uint>> rezlist); 114 void RezMultipleAttachmentsFromInventory(IScenePresence sp,List<KeyValuePair<UUID, uint>> rezlist);
109 115
110 /// <summary> 116 /// <summary>
111 /// Detach the given item to the ground. 117 /// Detach the given item to the ground.
112 /// </summary> 118 /// </summary>
@@ -129,8 +135,7 @@ namespace OpenSim.Region.Framework.Interfaces
129 /// <param name="sp">/param> 135 /// <param name="sp">/param>
130 /// <param name="grp">The attachment to detach.</param> 136 /// <param name="grp">The attachment to detach.</param>
131 void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup grp); 137 void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup grp);
132 138
133 /// <summary>
134 /// Update the position of an attachment. 139 /// Update the position of an attachment.
135 /// </summary> 140 /// </summary>
136 /// <param name="sog"></param> 141 /// <param name="sog"></param>