From a8e64cd59a7a296b7cae6fc0a66255a7f566e10d Mon Sep 17 00:00:00 2001
From: dahlia
Date: Sat, 1 Feb 2014 04:09:20 -0800
Subject: Overload INPCModule.CreateNPC() to allow agentID to be specified.
Note: this is intended for use in region modules and is not exposed to
scripts.
---
OpenSim/Region/Framework/Interfaces/INPCModule.cs | 26 +++++++++++++++++++++++
1 file changed, 26 insertions(+)
(limited to 'OpenSim/Region/Framework/Interfaces/INPCModule.cs')
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
index 9817cf7..d5dcddd 100644
--- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
@@ -72,6 +72,32 @@ namespace OpenSim.Region.Framework.Interfaces
AvatarAppearance appearance);
///
+ /// Create an NPC with a user-supplied agentID
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// The desired agent ID
+ ///
+ ///
+ /// Make the NPC show up as an agent on LSL sensors. The default is
+ /// that they show up as the NPC type instead, but this is currently
+ /// an OpenSim-only extension.
+ ///
+ ///
+ ///
+ /// The avatar appearance to use for the new NPC.
+ ///
+ ///
+ /// The UUID of the ScenePresence created. UUID.Zero if there was a
+ /// failure.
+ ///
+ UUID CreateNPC(string firstname, string lastname,
+ Vector3 position, UUID agentID, UUID owner, bool senseAsAgent, Scene scene,
+ AvatarAppearance appearance);
+
+ ///
/// Check if the agent is an NPC.
///
///
--
cgit v1.1