added perms checking, duplicated functionality to methods that do not require perms and have higher threat level

This commit is contained in:
SignpostMarv
2012-08-01 10:28:58 +01:00
committed by Justin Clark-Casey (justincc)
parent c677c04f10
commit ce7694c108
3 changed files with 86 additions and 6 deletions

View File

@@ -400,11 +400,23 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
/// </summary>
void osDropAttachment();
/// <summary>
/// Attempts to drop an attachment to the ground while bypassing the script permissions
/// </summary>
void osForceDropAttachment();
/// <summary>
/// Attempts to drop an attachment at the specified coordinates.
/// </summary>
/// <param name="pos"></param>
/// <param name="rot"></param>
void osDropAttachmentAt(vector pos, rotation rot);
/// <summary>
/// Attempts to drop an attachment at the specified coordinates while bypassing the script permissions
/// </summary>
/// <param name="pos"></param>
/// <param name="rot"></param>
void osForceDropAttachmentAt(vector pos, rotation rot);
}
}