aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/INPCModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-10 00:26:38 +0100
committerJustin Clark-Casey (justincc)2011-08-10 00:26:38 +0100
commit195c1dc9b8b8511980d9a607a242b24a5a91da17 (patch)
treef1e844250bf92895e39a41f8b6fac7797a09317f /OpenSim/Region/Framework/Interfaces/INPCModule.cs
parentWhen an NPC appearance is loaded, rez the attachments too (diff)
downloadopensim-SC_OLD-195c1dc9b8b8511980d9a607a242b24a5a91da17.zip
opensim-SC_OLD-195c1dc9b8b8511980d9a607a242b24a5a91da17.tar.gz
opensim-SC_OLD-195c1dc9b8b8511980d9a607a242b24a5a91da17.tar.bz2
opensim-SC_OLD-195c1dc9b8b8511980d9a607a242b24a5a91da17.tar.xz
implement osNpcStopMoveTo() to cancel any current move target
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Interfaces/INPCModule.cs19
1 files changed, 15 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
index 54575ca..763d2dc 100644
--- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs
@@ -58,7 +58,7 @@ namespace OpenSim.Region.Framework.Interfaces
58 /// <param name="agentID"></param> 58 /// <param name="agentID"></param>
59 /// <param name="appearance"></param> 59 /// <param name="appearance"></param>
60 /// <param name="scene"></param> 60 /// <param name="scene"></param>
61 /// <returns></returns> 61 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
62 bool SetNPCAppearance(UUID agentID, AvatarAppearance appearance, Scene scene); 62 bool SetNPCAppearance(UUID agentID, AvatarAppearance appearance, Scene scene);
63 63
64 /// <summary> 64 /// <summary>
@@ -67,7 +67,16 @@ namespace OpenSim.Region.Framework.Interfaces
67 /// <param name="agentID">The UUID of the NPC</param> 67 /// <param name="agentID">The UUID of the NPC</param>
68 /// <param name="scene"></param> 68 /// <param name="scene"></param>
69 /// <param name="pos"></param> 69 /// <param name="pos"></param>
70 void MoveToTarget(UUID agentID, Scene scene, Vector3 pos); 70 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
71 bool MoveToTarget(UUID agentID, Scene scene, Vector3 pos);
72
73 /// <summary>
74 /// Stop the NPC's current movement.
75 /// </summary>
76 /// <param name="agentID">The UUID of the NPC</param>
77 /// <param name="scene"></param>
78 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
79 bool StopMoveToTarget(UUID agentID, Scene scene);
71 80
72 /// <summary> 81 /// <summary>
73 /// Get the NPC to say something. 82 /// Get the NPC to say something.
@@ -75,13 +84,15 @@ namespace OpenSim.Region.Framework.Interfaces
75 /// <param name="agentID">The UUID of the NPC</param> 84 /// <param name="agentID">The UUID of the NPC</param>
76 /// <param name="scene"></param> 85 /// <param name="scene"></param>
77 /// <param name="text"></param> 86 /// <param name="text"></param>
78 void Say(UUID agentID, Scene scene, string text); 87 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
88 bool Say(UUID agentID, Scene scene, string text);
79 89
80 /// <summary> 90 /// <summary>
81 /// Delete an NPC. 91 /// Delete an NPC.
82 /// </summary> 92 /// </summary>
83 /// <param name="agentID">The UUID of the NPC</param> 93 /// <param name="agentID">The UUID of the NPC</param>
84 /// <param name="scene"></param> 94 /// <param name="scene"></param>
85 void DeleteNPC(UUID agentID, Scene scene); 95 /// <returns>True if the operation succeeded, false if there was no such agent or the agent was not an NPC</returns>
96 bool DeleteNPC(UUID agentID, Scene scene);
86 } 97 }
87} \ No newline at end of file 98} \ No newline at end of file