diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 1aff886..692de46 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -6631,6 +6631,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6631 | OutPacket(reply, ThrottleOutPacketType.Land); | 6631 | OutPacket(reply, ThrottleOutPacketType.Land); |
6632 | } | 6632 | } |
6633 | 6633 | ||
6634 | public void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt) | ||
6635 | { | ||
6636 | ScriptTeleportRequestPacket packet = (ScriptTeleportRequestPacket)PacketPool.Instance.GetPacket(PacketType.ScriptTeleportRequest); | ||
6637 | |||
6638 | packet.Data.ObjectName = Utils.StringToBytes(objName); | ||
6639 | packet.Data.SimName = Utils.StringToBytes(simName); | ||
6640 | packet.Data.SimPosition = pos; | ||
6641 | packet.Data.LookAt = lookAt; | ||
6642 | |||
6643 | OutPacket(packet, ThrottleOutPacketType.Task); | ||
6644 | } | ||
6645 | |||
6634 | public void SetClientOption(string option, string value) | 6646 | public void SetClientOption(string option, string value) |
6635 | { | 6647 | { |
6636 | switch (option) | 6648 | switch (option) |