Adds OwnerId and CreatorId properties to MRM.IObject
soprefactor
Justin Clark-Casey (justincc) 2010-05-21 23:34:47 +01:00
parent e5bcd8b341
commit 074937e0e5
2 changed files with 20 additions and 0 deletions

View File

@ -97,6 +97,16 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
/// </summary>
String Description { get; set; }
/// <summary>
/// Returns the UUID of the Owner of the Object.
/// </summary>
UUID OwnerId { get; }
/// <summary>
/// Returns the UUID of the Creator of the Object.
/// </summary>
UUID CreatorId { get; }
/// <summary>
/// Returns the root object of a linkset. If this object is the root, it will return itself.
/// </summary>

View File

@ -169,6 +169,16 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
}
}
public UUID OwnerId
{
get { return GetSOP().OwnerID;}
}
public UUID CreatorId
{
get { return GetSOP().CreatorID;}
}
public IObject[] Children
{
get