aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorHomer Horwitz2008-10-01 21:30:48 +0000
committerHomer Horwitz2008-10-01 21:30:48 +0000
commitb1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8 (patch)
treebf69f8cbf479207758b384f2ccc371996f4ea1c3 /OpenSim/Region/ClientStack
parentstick a TODO in here about land tests, which really can't be done in (diff)
downloadopensim-SC-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.zip
opensim-SC-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.gz
opensim-SC-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.bz2
opensim-SC-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.xz
- Added SendScriptTeleportRequest to IClientView and classes implementing it.
- Implemented llMapDestination.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs12
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)