wrapping attachment functions in a region

integration
SignpostMarv 2012-09-01 02:45:07 +01:00 committed by Justin Clark-Casey (justincc)
parent ff867b59cf
commit 07dbe46ba3
3 changed files with 4 additions and 2 deletions

View File

@ -3229,6 +3229,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
} }
#region Attachment commands
public void osForceAttachToAvatar(int attachmentPoint) public void osForceAttachToAvatar(int attachmentPoint)
{ {
CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatar"); CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatar");

View File

@ -157,7 +157,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
void osAvatarPlayAnimation(string avatar, string animation); void osAvatarPlayAnimation(string avatar, string animation);
void osAvatarStopAnimation(string avatar, string animation); void osAvatarStopAnimation(string avatar, string animation);
// Attachment commands #region Attachment commands
/// <summary> /// <summary>
/// Attach the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH /// Attach the object containing this script to the avatar that owns it without asking for PERMISSION_ATTACH

View File

@ -289,7 +289,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osAvatarStopAnimation(avatar, animation); m_OSSL_Functions.osAvatarStopAnimation(avatar, animation);
} }
// Avatar functions #region Attachment commands
public void osForceAttachToAvatar(int attachmentPoint) public void osForceAttachToAvatar(int attachmentPoint)
{ {