aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-02-28 22:47:31 +0000
committerMelanie2010-02-28 22:47:31 +0000
commit44e7224b86dbcd369ce2569328e3b00fc3b209ab (patch)
tree597d7684c719a5ca726c25aa35b058abd126cae1 /OpenSim
parentInitial Online friends notification seems to be working reliably now. All thi... (diff)
downloadopensim-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 'OpenSim')
-rw-r--r--OpenSim/Client/MXP/ClientStack/MXPClientView.cs4
-rw-r--r--OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs4
-rw-r--r--OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs4
-rw-r--r--OpenSim/Framework/IClientAPI.cs1
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs15
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs4
-rw-r--r--OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs4
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs4
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs4
9 files changed, 44 insertions, 0 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
index 167a40c..b40a09b 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -1706,5 +1706,9 @@ namespace OpenSim.Client.MXP.ClientStack
1706 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) 1706 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1707 { 1707 {
1708 } 1708 }
1709
1710 public void SendChangeUserRights(UUID friendID, int rights)
1711 {
1712 }
1709 } 1713 }
1710} 1714}
diff --git a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs b/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
index 6185164..22a37d1 100644
--- a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
+++ b/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs
@@ -1195,6 +1195,10 @@ namespace OpenSim.Client.Sirikata.ClientStack
1195 { 1195 {
1196 } 1196 }
1197 1197
1198 public void SendChangeUserRights(UUID friendID, int rights)
1199 {
1200 }
1201
1198 #endregion 1202 #endregion
1199 } 1203 }
1200} 1204}
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
index 7a32e7f..2630774 100644
--- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
+++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
@@ -1210,5 +1210,9 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
1210 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) 1210 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1211 { 1211 {
1212 } 1212 }
1213
1214 public void SendChangeUserRights(UUID friendID, int rights)
1215 {
1216 }
1213 } 1217 }
1214} 1218}
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 4003b7e..1daca32 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -1478,5 +1478,6 @@ namespace OpenSim.Framework
1478 1478
1479 void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt); 1479 void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt);
1480 1480
1481 void SendChangeUserRights(UUID friendID, int rights);
1481 } 1482 }
1482} 1483}
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}
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 803b352..c424183 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -1209,5 +1209,9 @@ namespace OpenSim.Tests.Common.Mock
1209 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) 1209 public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals)
1210 { 1210 {
1211 } 1211 }
1212
1213 public void SendChangeUserRights(UUID friendID, int rights)
1214 {
1215 }
1212 } 1216 }
1213} 1217}