Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adds IsChildAgent property to IAvatar in MRM.
Thanks ziah
  • Loading branch information
Justin Clark-Casey (justincc) committed Feb 19, 2010
1 parent 8294fbd commit 68b494b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ what it is today.
* YZh
* Zackary Geers aka Kunnis Basiat
* Zha Ewry
* ziah


= LSL Devs =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
{
public interface IAvatar : IEntity
{

bool IsChildAgent { get; }

//// <value>
/// Array of worn attachments, empty but not null, if no attachments are worn
/// </value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ public Vector3 WorldPosition
set { GetSP().TeleportWithMomentum(value); }
}

public bool IsChildAgent
{
get { return GetSP().IsChildAgent; }
}

#region IAvatar implementation
public IAvatarAttachment[] Attachments
{
Expand Down

0 comments on commit 68b494b

Please sign in to comment.