aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorAdam Frisby2009-08-21 11:14:55 +1000
committerAdam Frisby2009-08-21 11:14:55 +1000
commit01f394d2037be62a3d74e2d28ab9e5644f86a9a2 (patch)
tree53ff6b50c49f766f71befff01c4aafccf9661ec2 /OpenSim/Region/CoreModules
parent* Implements a bunch of stuff in NPCModule (diff)
downloadopensim-SC_OLD-01f394d2037be62a3d74e2d28ab9e5644f86a9a2.zip
opensim-SC_OLD-01f394d2037be62a3d74e2d28ab9e5644f86a9a2.tar.gz
opensim-SC_OLD-01f394d2037be62a3d74e2d28ab9e5644f86a9a2.tar.bz2
opensim-SC_OLD-01f394d2037be62a3d74e2d28ab9e5644f86a9a2.tar.xz
* Fleshes more of NPCModule out.
* Implements some OSSL commands: key osNpcCreate(string user, string name, vector position, key cloneFrom); void osNpcMoveTo(key npc, vector position); void osNpcSay(key npc, string message); void osNpcRemove(key npc); * Untested. Requires ThreatLevel.High.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/NPC/INPCModule.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/NPC/INPCModule.cs b/OpenSim/Region/CoreModules/Avatar/NPC/INPCModule.cs
new file mode 100644
index 0000000..7d5c310
--- /dev/null
+++ b/OpenSim/Region/CoreModules/Avatar/NPC/INPCModule.cs
@@ -0,0 +1,13 @@
1using OpenMetaverse;
2using OpenSim.Region.Framework.Scenes;
3
4namespace OpenSim.Region.CoreModules.Avatar.NPC
5{
6 public interface INPCModule
7 {
8 UUID CreateNPC(string firstname, string lastname, Vector3 position, Scene scene, UUID cloneAppearanceFrom);
9 void Autopilot(UUID agentID, Scene scene, Vector3 pos);
10 void Say(UUID agentID, Scene scene, string text);
11 void DeleteNPC(UUID agentID, Scene scene);
12 }
13} \ No newline at end of file