aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index c185640..8448236 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -11605,5 +11605,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11605 packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages); 11605 packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages);
11606 OutPacket(packet, ThrottleOutPacketType.Task); 11606 OutPacket(packet, ThrottleOutPacketType.Task);
11607 } 11607 }
11608
11609 public void SendChangeUserRights(UUID friendID, int rights)
11610 {
11611 ChangeUserRightsPacket packet = (ChangeUserRightsPacket)PacketPool.Instance.GetPacket(PacketType.ChangeUserRights);
11612
11613 packet.AgentData = new ChangeUserRightsPacket.AgentDataBlock();
11614 packet.AgentData.AgentID = AgentId;
11615
11616 packet.Rights = new ChangeUserRightsPacket.RightsBlock[1];
11617 packet.Rights[0] = new ChangeUserRightsPacket.RightsBlock();
11618 packet.Rights[0].AgentRelated = friendID;
11619 packet.Rights[0].RelatedRights = rights;
11620
11621 OutPacket(packet, ThrottleOutPacketType.Task);
11622 }
11608 } 11623 }
11609} 11624}