diff options
author | Melanie | 2010-02-28 22:47:31 +0000 |
---|---|---|
committer | Melanie | 2010-02-28 22:47:31 +0000 |
commit | 44e7224b86dbcd369ce2569328e3b00fc3b209ab (patch) | |
tree | 597d7684c719a5ca726c25aa35b058abd126cae1 /OpenSim/Region/ClientStack/LindenUDP | |
parent | Initial Online friends notification seems to be working reliably now. All thi... (diff) | |
download | opensim-SC_OLD-44e7224b86dbcd369ce2569328e3b00fc3b209ab.zip opensim-SC_OLD-44e7224b86dbcd369ce2569328e3b00fc3b209ab.tar.gz opensim-SC_OLD-44e7224b86dbcd369ce2569328e3b00fc3b209ab.tar.bz2 opensim-SC_OLD-44e7224b86dbcd369ce2569328e3b00fc3b209ab.tar.xz |
Add missing ChangeUserRights packet sender
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 15 |
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 | } |