aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-29 00:15:39 +0000
committerMelanie Thielker2008-10-29 00:15:39 +0000
commit766269a59b9ca45fcd203ce559fe13003e9abc24 (patch)
treefa647dd5e7fa142014582d284c93b8b39fb2a2fc /OpenSim
parentMantis #2489 (diff)
downloadopensim-SC_OLD-766269a59b9ca45fcd203ce559fe13003e9abc24.zip
opensim-SC_OLD-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.gz
opensim-SC_OLD-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.bz2
opensim-SC_OLD-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.xz
Plumbing along....
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs39
-rw-r--r--OpenSim/Region/Interfaces/IGroupsModule.cs2
2 files changed, 41 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 86ec7e2..8da5b0e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -6861,6 +6861,45 @@ Console.WriteLine(msgpack.ToString());
6861 } 6861 }
6862 break; 6862 break;
6863 6863
6864 case PacketType.GroupRoleUpdate:
6865 GroupRoleUpdatePacket groupRoleUpdate =
6866 (GroupRoleUpdatePacket)Pack;
6867
6868 if (m_GroupsModule != null)
6869 {
6870 foreach (GroupRoleUpdatePacket.RoleDataBlock d in
6871 groupRoleUpdate.RoleData)
6872 {
6873 m_GroupsModule.GroupRoleUpdate(this,
6874 groupRoleUpdate.AgentData.GroupID,
6875 d.RoleID,
6876 Utils.BytesToString(d.Name),
6877 Utils.BytesToString(d.Description),
6878 Utils.BytesToString(d.Title),
6879 d.Powers,
6880 d.UpdateType);
6881 }
6882 }
6883 break;
6884
6885 case PacketType.GroupRoleChanges:
6886 GroupRoleChangesPacket groupRoleChanges =
6887 (GroupRoleChangesPacket)Pack;
6888
6889 if (m_GroupsModule != null)
6890 {
6891 foreach (GroupRoleChangesPacket.RoleChangeBlock d in
6892 groupRoleChanges.RoleChange)
6893 {
6894 m_GroupsModule.GroupRoleChanges(this,
6895 groupRoleChanges.AgentData.GroupID,
6896 d.RoleID,
6897 d.MemberID,
6898 d.Change);
6899 }
6900 }
6901 break;
6902
6864 default: 6903 default:
6865 m_log.Warn("[CLIENT]: unhandled packet " + Pack.ToString()); 6904 m_log.Warn("[CLIENT]: unhandled packet " + Pack.ToString());
6866 break; 6905 break;
diff --git a/OpenSim/Region/Interfaces/IGroupsModule.cs b/OpenSim/Region/Interfaces/IGroupsModule.cs
index d428297..4d1b1cc 100644
--- a/OpenSim/Region/Interfaces/IGroupsModule.cs
+++ b/OpenSim/Region/Interfaces/IGroupsModule.cs
@@ -51,6 +51,8 @@ namespace OpenSim.Region.Interfaces
51 51
52 GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID GroupID); 52 GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID GroupID);
53 string GetGroupTitle(UUID avatarID); 53 string GetGroupTitle(UUID avatarID);
54 void GroupRoleUpdate(IClientAPI remoteClient, UUID GroupID, UUID RoleID, string name, string description, string title, ulong powers, byte updateType);
55 void GroupRoleChanges(IClientAPI remoteClient, UUID GroupID, UUID RoleID, UUID MemberID, uint changes);
54 void GroupNoticeRequest(IClientAPI remoteClient, UUID groupNoticeID); 56 void GroupNoticeRequest(IClientAPI remoteClient, UUID groupNoticeID);
55 void SendAgentGroupDataUpdate(IClientAPI remoteClient); 57 void SendAgentGroupDataUpdate(IClientAPI remoteClient);
56 } 58 }