aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 32432b4..395d555 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -5758,6 +5758,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5758 5758
5759 OutPacket(avatarSitResponse, ThrottleOutPacketType.Task); 5759 OutPacket(avatarSitResponse, ThrottleOutPacketType.Task);
5760 } 5760 }
5761
5761 public void SendAdminResponse(LLUUID Token, uint AdminLevel) 5762 public void SendAdminResponse(LLUUID Token, uint AdminLevel)
5762 { 5763 {
5763 GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); 5764 GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket();
@@ -5773,6 +5774,29 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5773 respondPacket.AgentData = adb; 5774 respondPacket.AgentData = adb;
5774 OutPacket(respondPacket, ThrottleOutPacketType.Task); 5775 OutPacket(respondPacket, ThrottleOutPacketType.Task);
5775 } 5776 }
5777
5778 public void SendGroupMembership(GroupData[] GroupMembership)
5779 {
5780 AgentGroupDataUpdatePacket Groupupdate = new AgentGroupDataUpdatePacket();
5781 AgentGroupDataUpdatePacket.GroupDataBlock[] Groups = new AgentGroupDataUpdatePacket.GroupDataBlock[GroupMembership.Length];
5782 for (int i = 0; i < GroupMembership.Length; i++)
5783 {
5784 AgentGroupDataUpdatePacket.GroupDataBlock Group = new AgentGroupDataUpdatePacket.GroupDataBlock();
5785 Group.AcceptNotices = GroupMembership[i].AcceptNotices;
5786 Group.Contribution = GroupMembership[i].contribution;
5787 Group.GroupID = GroupMembership[i].GroupID;
5788 Group.GroupInsigniaID = GroupMembership[i].GroupPicture;
5789 Group.GroupName = Helpers.StringToField(GroupMembership[i].groupName);
5790 Group.GroupPowers = GroupMembership[i].groupPowers;
5791 Groups[i] = Group;
5792 Groupupdate.GroupData = Groups;
5793
5794 }
5795 Groupupdate.AgentData.AgentID = AgentId;
5796 OutPacket(Groupupdate, ThrottleOutPacketType.Task);
5797
5798 }
5799
5776 public ClientInfo GetClientInfo() 5800 public ClientInfo GetClientInfo()
5777 { 5801 {
5778 //MainLog.Instance.Verbose("CLIENT", "GetClientInfo BGN"); 5802 //MainLog.Instance.Verbose("CLIENT", "GetClientInfo BGN");