mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Adds OwnerId and CreatorId properties to MRM.IObject
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user