From e4d68964ddee0ce26154d8d38c102a96e0adef10 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 21 May 2009 10:41:16 +0000 Subject: 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. --- OpenSim/Region/Framework/Interfaces/ITeleportModule.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 OpenSim/Region/Framework/Interfaces/ITeleportModule.cs (limited to 'OpenSim/Region/Framework/Interfaces/ITeleportModule.cs') 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 @@ +using System; +using System.Collections.Generic; +using System.Text; +using OpenMetaverse; +using OpenSim.Region.Framework.Scenes; + +namespace OpenSim.Region.Framework.Interfaces +{ + public interface ITeleportModule + { + void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, + Vector3 lookAt, uint teleportFlags); + } +} -- cgit v1.1