aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-14 06:58:32 +0000
committerTeravus Ovares2008-05-14 06:58:32 +0000
commit5b4d7922ea304f638b6a9bd0a324abefd1403ec1 (patch)
tree2f8be6c0b270ecc33b56e1d716d1977e9a3d9620 /OpenSim/Region/ClientStack/LindenUDP
parentMore formatting cleanup. Minor refactoring. (diff)
downloadopensim-SC_OLD-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.zip
opensim-SC_OLD-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.gz
opensim-SC_OLD-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.bz2
opensim-SC_OLD-5b4d7922ea304f638b6a9bd0a324abefd1403ec1.tar.xz
* Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-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");