diff options
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.cs | 14 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using OpenMetaverse; | ||
5 | using OpenSim.Region.Framework.Scenes; | ||
6 | |||
7 | namespace 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 | } | ||