aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-05-21 23:34:47 +0100
committerJustin Clark-Casey (justincc)2010-05-21 23:34:47 +0100
commit074937e0e510e9be6b7a0e5639d93a93be38d6b1 (patch)
tree0205725e41fcdd9a5ccfe6cd3e4cc39aba36079e /OpenSim/Region/OptionalModules
parentApply adaption of patch in http://opensimulator.org/mantis/view.php?id=4628 (diff)
downloadopensim-SC_OLD-074937e0e510e9be6b7a0e5639d93a93be38d6b1.zip
opensim-SC_OLD-074937e0e510e9be6b7a0e5639d93a93be38d6b1.tar.gz
opensim-SC_OLD-074937e0e510e9be6b7a0e5639d93a93be38d6b1.tar.bz2
opensim-SC_OLD-074937e0e510e9be6b7a0e5639d93a93be38d6b1.tar.xz
Apply http://opensimulator.org/mantis/view.php?id=4627
Adds OwnerId and CreatorId properties to MRM.IObject
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs10
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs10
2 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
index 30580e7..29f7f68 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IObject.cs
@@ -98,6 +98,16 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
98 String Description { get; set; } 98 String Description { get; set; }
99 99
100 /// <summary> 100 /// <summary>
101 /// Returns the UUID of the Owner of the Object.
102 /// </summary>
103 UUID OwnerId { get; }
104
105 /// <summary>
106 /// Returns the UUID of the Creator of the Object.
107 /// </summary>
108 UUID CreatorId { get; }
109
110 /// <summary>
101 /// Returns the root object of a linkset. If this object is the root, it will return itself. 111 /// Returns the root object of a linkset. If this object is the root, it will return itself.
102 /// </summary> 112 /// </summary>
103 IObject Root { get; } 113 IObject Root { get; }
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
index 5bfe4be..f51498c 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs
@@ -169,6 +169,16 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
169 } 169 }
170 } 170 }
171 171
172 public UUID OwnerId
173 {
174 get { return GetSOP().OwnerID;}
175 }
176
177 public UUID CreatorId
178 {
179 get { return GetSOP().CreatorID;}
180 }
181
172 public IObject[] Children 182 public IObject[] Children
173 { 183 {
174 get 184 get