mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Allow scripts in attachments on an owned NPC to call NPC functions on that NPC
This commit is contained in:
@@ -122,6 +122,17 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
/// <summary>
|
||||
/// Check if the caller has permission to manipulate the given NPC.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// A caller has permission if
|
||||
/// * An NPC exists with the given npcID.
|
||||
/// * The caller UUID given is UUID.Zero.
|
||||
/// * The avatar is unowned (owner is UUID.Zero).
|
||||
/// * The avatar is owned and the owner and callerID match.
|
||||
/// * The avatar is owned and the callerID matches its agentID.
|
||||
/// </remarks>
|
||||
/// <param name="av"></param>
|
||||
/// <param name="callerID"></param>
|
||||
/// <returns>true if they do, false if they don't.</returns>
|
||||
/// <param name="npcID"></param>
|
||||
/// <param name="callerID"></param>
|
||||
/// <returns>
|
||||
|
||||
Reference in New Issue
Block a user