diff options
Diffstat (limited to 'OpenSim/Region')
4 files changed, 27 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 | } |
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index bb0d43b..c5b2363 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | |||
@@ -1149,5 +1149,9 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
1149 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) | 1149 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) |
1150 | { | 1150 | { |
1151 | } | 1151 | } |
1152 | |||
1153 | public void SendChangeUserRights(UUID friendID, int rights) | ||
1154 | { | ||
1155 | } | ||
1152 | } | 1156 | } |
1153 | } | 1157 | } |
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 92e5a13..cbe3c77 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -1675,5 +1675,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
1675 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) | 1675 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) |
1676 | { | 1676 | { |
1677 | } | 1677 | } |
1678 | |||
1679 | public void SendChangeUserRights(UUID friendID, int rights) | ||
1680 | { | ||
1681 | } | ||
1678 | } | 1682 | } |
1679 | } | 1683 | } |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 17453f1..7987929 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -1155,5 +1155,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
1155 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) | 1155 | public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) |
1156 | { | 1156 | { |
1157 | } | 1157 | } |
1158 | |||
1159 | public void SendChangeUserRights(UUID friendID, int rights) | ||
1160 | { | ||
1161 | } | ||
1158 | } | 1162 | } |
1159 | } | 1163 | } |