diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/INPCModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/INPCModule.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs index cac8479..c50e734 100644 --- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs +++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs | |||
@@ -53,6 +53,14 @@ namespace OpenSim.Region.Framework.Interfaces | |||
53 | bool IsNPC(UUID agentID, Scene scene); | 53 | bool IsNPC(UUID agentID, Scene scene); |
54 | 54 | ||
55 | /// <summary> | 55 | /// <summary> |
56 | /// Check if the caller has permission to manipulate the given NPC. | ||
57 | /// </summary> | ||
58 | /// <param name="npcID"></param> | ||
59 | /// <param name="callerID"></param> | ||
60 | /// <returns>true if they do, false if they don't or if there's no NPC with the given ID.</returns> | ||
61 | bool CheckPermissions(UUID npcID, UUID callerID); | ||
62 | |||
63 | /// <summary> | ||
56 | /// Set the appearance for an NPC. | 64 | /// Set the appearance for an NPC. |
57 | /// </summary> | 65 | /// </summary> |
58 | /// <param name="agentID"></param> | 66 | /// <param name="agentID"></param> |
@@ -117,7 +125,7 @@ namespace OpenSim.Region.Framework.Interfaces | |||
117 | /// <param name="agentID">The UUID of the NPC</param> | 125 | /// <param name="agentID">The UUID of the NPC</param> |
118 | /// <param name="scene"></param> | 126 | /// <param name="scene"></param> |
119 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> | 127 | /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns> |
120 | bool DeleteNPC(UUID agentID, UUID CallerID, Scene scene); | 128 | bool DeleteNPC(UUID agentID, Scene scene); |
121 | 129 | ||
122 | /// <summary> | 130 | /// <summary> |
123 | /// Get the owner of a NPC | 131 | /// Get the owner of a NPC |