diff options
author | Jeff Ames | 2009-07-01 10:26:43 +0000 |
---|---|---|
committer | Jeff Ames | 2009-07-01 10:26:43 +0000 |
commit | 3f2fba610ea48b6d93a77f3965882d600b6a908a (patch) | |
tree | 6c69fcfd02023f5450e11a6f244a611298d8091f /OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs | |
parent | add some more intuitive overloads for PrimitiveBaseShape SetPathRange and Set... (diff) | |
download | opensim-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.cs | 70 |
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 @@ | |||
1 | using System; | 1 | using System; |
2 | 2 | ||
3 | using OpenMetaverse; | 3 | using OpenMetaverse; |
4 | using OpenSim.Region.Framework.Scenes; | 4 | using OpenSim.Region.Framework.Scenes; |
5 | 5 | ||
6 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 6 | namespace 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 | } |