aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorMW2009-05-21 10:41:16 +0000
committerMW2009-05-21 10:41:16 +0000
commite4d68964ddee0ce26154d8d38c102a96e0adef10 (patch)
treee2a6c3ee1528c0b2f2b9cbd70fe43798c0bcded5 /OpenSim/Region/Framework/Interfaces
parentPut some meat on the bones of the REST console. NO user functionality yet (diff)
downloadopensim-SC_OLD-e4d68964ddee0ce26154d8d38c102a96e0adef10.zip
opensim-SC_OLD-e4d68964ddee0ce26154d8d38c102a96e0adef10.tar.gz
opensim-SC_OLD-e4d68964ddee0ce26154d8d38c102a96e0adef10.tar.bz2
opensim-SC_OLD-e4d68964ddee0ce26154d8d38c102a96e0adef10.tar.xz
Added ITeleportModule interface, and added a hook into scene so if a module has registered this interface then that handles teleport requests rather the SceneCommunicationService.
As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/ITeleportModule.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/ITeleportModule.cs b/OpenSim/Region/Framework/Interfaces/ITeleportModule.cs
new file mode 100644
index 0000000..5365094
--- /dev/null
+++ b/OpenSim/Region/Framework/Interfaces/ITeleportModule.cs
@@ -0,0 +1,14 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenMetaverse;
5using OpenSim.Region.Framework.Scenes;
6
7namespace OpenSim.Region.Framework.Interfaces
8{
9 public interface ITeleportModule
10 {
11 void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position,
12 Vector3 lookAt, uint teleportFlags);
13 }
14}