28 using System.Collections;
29 using System.Collections.Generic;
30 using System.Security;
32 using OpenSim.Framework;
33 using OpenSim.Region.Framework.Scenes;
34 using OpenSim.Region.Framework.Interfaces;
36 namespace OpenSim.
Region.OptionalModules.Scripting.Minimodule
40 private readonly
Scene m_rootScene;
41 private readonly
UUID m_ID;
48 m_security = security;
54 return m_rootScene.GetScenePresence(m_ID);
59 get {
return GetSP().Name; }
60 set {
throw new SecurityException(
"Avatar Names are a read-only property."); }
68 public Vector3 WorldPosition
70 get {
return GetSP().AbsolutePosition; }
71 set { GetSP().Teleport(value); }
74 public bool IsChildAgent
76 get {
return GetSP().IsChildAgent; }
79 #region IAvatar implementation
83 List<IAvatarAttachment> attachments =
new List<IAvatarAttachment>();
85 List<AvatarAttachment> internalAttachments = GetSP().Appearance.GetAttachments();
93 return attachments.ToArray();
101 dm.SendUrlToUser(GetSP().UUID, sender.Name, sender.GlobalID, GetSP().UUID,
false, message, url);
void LoadUrl(IObject sender, string message, string url)
Request to open an url clientside
SPAvatar(Scene scene, UUID ID, ISecurityCredential security)