diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs index 156a09d..a6cbf8d 100644 --- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Xml; | ||
29 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
30 | using OpenMetaverse; | 31 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
@@ -87,7 +88,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
87 | /// <param name="AttachmentPt"></param> | 88 | /// <param name="AttachmentPt"></param> |
88 | /// <param name="silent"></param> | 89 | /// <param name="silent"></param> |
89 | /// <returns>true if the object was successfully attached, false otherwise</returns> | 90 | /// <returns>true if the object was successfully attached, false otherwise</returns> |
90 | bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool temp, bool append); | 91 | bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool useAttachmentInfo, bool temp, bool append); |
91 | 92 | ||
92 | /// <summary> | 93 | /// <summary> |
93 | /// Rez an attachment from user inventory and change inventory status to match. | 94 | /// Rez an attachment from user inventory and change inventory status to match. |
@@ -96,7 +97,11 @@ namespace OpenSim.Region.Framework.Interfaces | |||
96 | /// <param name="itemID"></param> | 97 | /// <param name="itemID"></param> |
97 | /// <param name="AttachmentPt"></param> | 98 | /// <param name="AttachmentPt"></param> |
98 | /// <returns>The scene object that was attached. Null if the scene object could not be found</returns> | 99 | /// <returns>The scene object that was attached. Null if the scene object could not be found</returns> |
99 | SceneObjectGroup RezSingleAttachmentFromInventory(IScenePresence sp, UUID itemID, uint AttachmentPt); | 100 | ISceneEntity RezSingleAttachmentFromInventory(IScenePresence sp, UUID itemID, uint AttachmentPt); |
101 | |||
102 | // Same as above, but also load script states from a separate doc | ||
103 | ISceneEntity RezSingleAttachmentFromInventory( | ||
104 | IScenePresence presence, UUID itemID, uint AttachmentPt, XmlDocument doc); | ||
100 | 105 | ||
101 | /// <summary> | 106 | /// <summary> |
102 | /// Rez multiple attachments from a user's inventory | 107 | /// Rez multiple attachments from a user's inventory |
@@ -128,7 +133,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
128 | /// <param name="grp">The attachment to detach.</param> | 133 | /// <param name="grp">The attachment to detach.</param> |
129 | void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup grp); | 134 | void DetachSingleAttachmentToInv(IScenePresence sp, SceneObjectGroup grp); |
130 | 135 | ||
131 | /// <summary> | ||
132 | /// Update the position of an attachment. | 136 | /// Update the position of an attachment. |
133 | /// </summary> | 137 | /// </summary> |
134 | /// <param name="sog"></param> | 138 | /// <param name="sog"></param> |