aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs
diff options
context:
space:
mode:
authorJeff Ames2009-07-01 10:26:43 +0000
committerJeff Ames2009-07-01 10:26:43 +0000
commit3f2fba610ea48b6d93a77f3965882d600b6a908a (patch)
tree6c69fcfd02023f5450e11a6f244a611298d8091f /OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs
parentadd some more intuitive overloads for PrimitiveBaseShape SetPathRange and Set... (diff)
downloadopensim-SC-3f2fba610ea48b6d93a77f3965882d600b6a908a.zip
opensim-SC-3f2fba610ea48b6d93a77f3965882d600b6a908a.tar.gz
opensim-SC-3f2fba610ea48b6d93a77f3965882d600b6a908a.tar.bz2
opensim-SC-3f2fba610ea48b6d93a77f3965882d600b6a908a.tar.xz
Update svn properties.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs70
1 files changed, 35 insertions, 35 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs
index 5581fc3..387cba0 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs
@@ -1,35 +1,35 @@
1using System; 1using System;
2 2
3using OpenMetaverse; 3using OpenMetaverse;
4using OpenSim.Region.Framework.Scenes; 4using OpenSim.Region.Framework.Scenes;
5 5
6namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 6namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
7{ 7{
8 public class SPAvatarAttachment : IAvatarAttachment 8 public class SPAvatarAttachment : IAvatarAttachment
9 { 9 {
10 private readonly Scene m_rootScene; 10 private readonly Scene m_rootScene;
11 private readonly IAvatar m_parent; 11 private readonly IAvatar m_parent;
12 private readonly int m_location; 12 private readonly int m_location;
13 private readonly UUID m_itemId; 13 private readonly UUID m_itemId;
14 private readonly UUID m_assetId; 14 private readonly UUID m_assetId;
15 15
16 public SPAvatarAttachment(Scene rootScene, IAvatar self, int location, UUID itemId, UUID assetId) 16 public SPAvatarAttachment(Scene rootScene, IAvatar self, int location, UUID itemId, UUID assetId)
17 { 17 {
18 m_rootScene = rootScene; 18 m_rootScene = rootScene;
19 m_parent = self; 19 m_parent = self;
20 m_location = location; 20 m_location = location;
21 m_itemId = itemId; 21 m_itemId = itemId;
22 m_assetId = assetId; 22 m_assetId = assetId;
23 } 23 }
24 24
25 public int Location { get { return m_location; } } 25 public int Location { get { return m_location; } }
26 26
27 public IObject Asset 27 public IObject Asset
28 { 28 {
29 get 29 get
30 { 30 {
31 return new SOPObject(m_rootScene, m_rootScene.GetSceneObjectPart(m_assetId).LocalId); 31 return new SOPObject(m_rootScene, m_rootScene.GetSceneObjectPart(m_assetId).LocalId);
32 } 32 }
33 } 33 }
34 } 34 }
35} 35}