diff options
author | Jeff Ames | 2009-07-01 23:37:09 +0000 |
---|---|---|
committer | Jeff Ames | 2009-07-01 23:37:09 +0000 |
commit | 1d01d6d919ec55e59d5c9b20a978aa6b802bd45d (patch) | |
tree | 8a76a2c91c3c6ea1b34d5564cb6e8bc5efed0883 /OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs | |
parent | Add copyright headers. (diff) | |
download | opensim-SC-1d01d6d919ec55e59d5c9b20a978aa6b802bd45d.zip opensim-SC-1d01d6d919ec55e59d5c9b20a978aa6b802bd45d.tar.gz opensim-SC-1d01d6d919ec55e59d5c9b20a978aa6b802bd45d.tar.bz2 opensim-SC-1d01d6d919ec55e59d5c9b20a978aa6b802bd45d.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs index 4d6e4b6..971119f 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatarAttachment.cs | |||
@@ -33,30 +33,30 @@ using OpenSim.Region.Framework.Scenes; | |||
33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 33 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
34 | { | 34 | { |
35 | public class SPAvatarAttachment : IAvatarAttachment | 35 | public class SPAvatarAttachment : IAvatarAttachment |
36 | { | 36 | { |
37 | private readonly Scene m_rootScene; | 37 | private readonly Scene m_rootScene; |
38 | private readonly IAvatar m_parent; | 38 | private readonly IAvatar m_parent; |
39 | private readonly int m_location; | 39 | private readonly int m_location; |
40 | private readonly UUID m_itemId; | 40 | private readonly UUID m_itemId; |
41 | private readonly UUID m_assetId; | 41 | private readonly UUID m_assetId; |
42 | 42 | ||
43 | public SPAvatarAttachment(Scene rootScene, IAvatar self, int location, UUID itemId, UUID assetId) | 43 | public SPAvatarAttachment(Scene rootScene, IAvatar self, int location, UUID itemId, UUID assetId) |
44 | { | 44 | { |
45 | m_rootScene = rootScene; | 45 | m_rootScene = rootScene; |
46 | m_parent = self; | 46 | m_parent = self; |
47 | m_location = location; | 47 | m_location = location; |
48 | m_itemId = itemId; | 48 | m_itemId = itemId; |
49 | m_assetId = assetId; | 49 | m_assetId = assetId; |
50 | } | 50 | } |
51 | 51 | ||
52 | public int Location { get { return m_location; } } | 52 | public int Location { get { return m_location; } } |
53 | 53 | ||
54 | public IObject Asset | 54 | public IObject Asset |
55 | { | 55 | { |
56 | get | 56 | get |
57 | { | 57 | { |
58 | return new SOPObject(m_rootScene, m_rootScene.GetSceneObjectPart(m_assetId).LocalId); | 58 | return new SOPObject(m_rootScene, m_rootScene.GetSceneObjectPart(m_assetId).LocalId); |
59 | } | 59 | } |
60 | } | 60 | } |
61 | } | 61 | } |
62 | } | 62 | } |