aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-30 23:32:30 +0100
committerJustin Clark-Casey (justincc)2011-08-30 23:32:30 +0100
commitddc733cd3d940a4357eb0d235562050eb6f206bf (patch)
treef77e542f00edcdbb0f645665a869765a10532f1c /OpenSim/Region/Framework/Interfaces
parentalso get "nant clean" to remove old .mdb from .exe and .dll (diff)
downloadopensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.zip
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.gz
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.bz2
opensim-SC_OLD-ddc733cd3d940a4357eb0d235562050eb6f206bf.tar.xz
refactor: move SP.SaveChangedAttachments() fully into AttachmentsModule
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs6
-rw-r--r--OpenSim/Region/Framework/Interfaces/IScenePresence.cs11
2 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index 1833dce..ce795f1 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -42,6 +42,12 @@ namespace OpenSim.Region.Framework.Interfaces
42 void RezAttachments(IScenePresence sp); 42 void RezAttachments(IScenePresence sp);
43 43
44 /// <summary> 44 /// <summary>
45 /// Save the attachments that have change on this presence.
46 /// </summary>
47 /// <param name="sp"></param>
48 void SaveChangedAttachments(IScenePresence sp);
49
50 /// <summary>
45 /// Attach an object to an avatar from the world. 51 /// Attach an object to an avatar from the world.
46 /// </summary> 52 /// </summary>
47 /// <param name="controllingClient"></param> 53 /// <param name="controllingClient"></param>
diff --git a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
index d700d79..b07c821 100644
--- a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
@@ -26,7 +26,9 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic;
29using OpenSim.Framework; 30using OpenSim.Framework;
31using OpenSim.Region.Framework.Scenes;
30 32
31namespace OpenSim.Region.Framework.Interfaces 33namespace OpenSim.Region.Framework.Interfaces
32{ 34{
@@ -52,5 +54,14 @@ namespace OpenSim.Region.Framework.Interfaces
52 // get a synchronization issue. 54 // get a synchronization issue.
53 /// </remarks> 55 /// </remarks>
54 AvatarAppearance Appearance { get; set; } 56 AvatarAppearance Appearance { get; set; }
57
58 /// <summary>
59 /// The scene objects attached to this avatar.
60 /// </summary>
61 /// <remarks>
62 /// Do not change this list directly - use methods such as
63 /// AddAttachment() and RemoveAttachment(). Lock this list when performing any read operations upon it.
64 /// </remarks>
65 List<SceneObjectGroup> Attachments { get; }
55 } 66 }
56} \ No newline at end of file 67} \ No newline at end of file