diff options
author | Homer Horwitz | 2008-10-01 21:30:48 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-01 21:30:48 +0000 |
commit | b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8 (patch) | |
tree | bf69f8cbf479207758b384f2ccc371996f4ea1c3 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | stick a TODO in here about land tests, which really can't be done in (diff) | |
download | opensim-SC_OLD-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.zip opensim-SC_OLD-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.gz opensim-SC_OLD-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.bz2 opensim-SC_OLD-b1c1de2fbeeaba34f2daa96a34a14cc9cb4effa8.tar.xz |
- Added SendScriptTeleportRequest to IClientView and classes implementing it.
- Implemented llMapDestination.
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) |