aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index f7d6f9e..58d9e90 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -1595,6 +1595,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1595 OutPacket(remove, ThrottleOutPacketType.Asset); 1595 OutPacket(remove, ThrottleOutPacketType.Asset);
1596 } 1596 }
1597 1597
1598 public void SendTakeControls(int controls, bool passToAgent, bool TakeControls)
1599 {
1600 ScriptControlChangePacket scriptcontrol = (ScriptControlChangePacket)PacketPool.Instance.GetPacket(PacketType.ScriptControlChange);
1601 ScriptControlChangePacket.DataBlock[] data = new ScriptControlChangePacket.DataBlock[1];
1602 ScriptControlChangePacket.DataBlock ddata = new ScriptControlChangePacket.DataBlock();
1603 ddata.Controls = (uint)controls;
1604 ddata.PassToAgent = passToAgent;
1605 ddata.TakeControls = TakeControls;
1606 data[0] = ddata;
1607 scriptcontrol.Data = data;
1608 OutPacket(scriptcontrol, ThrottleOutPacketType.Task);
1609 }
1610
1598 public void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName) 1611 public void SendTaskInventory(LLUUID taskID, short serial, byte[] fileName)
1599 { 1612 {
1600 ReplyTaskInventoryPacket replytask = (ReplyTaskInventoryPacket)PacketPool.Instance.GetPacket(PacketType.ReplyTaskInventory); 1613 ReplyTaskInventoryPacket replytask = (ReplyTaskInventoryPacket)PacketPool.Instance.GetPacket(PacketType.ReplyTaskInventory);