aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-06 02:47:14 +0000
committerTeravus Ovares2008-05-06 02:47:14 +0000
commitadd13276a98e572bf4f83e79cfe1fa4d3f4411df (patch)
tree063b5b062eae428b635ce12ccbd7c46fcf63a5bc /OpenSim/Region/ClientStack/LindenUDP
parent* If you llApplyImpulse on an attachment, it applies impulse on the avatar, n... (diff)
downloadopensim-SC_OLD-add13276a98e572bf4f83e79cfe1fa4d3f4411df.zip
opensim-SC_OLD-add13276a98e572bf4f83e79cfe1fa4d3f4411df.tar.gz
opensim-SC_OLD-add13276a98e572bf4f83e79cfe1fa4d3f4411df.tar.bz2
opensim-SC_OLD-add13276a98e572bf4f83e79cfe1fa4d3f4411df.tar.xz
* Committing a bunch of work for control snatching. Not done yet. No visible features.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-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);