diff options
author | Melanie Thielker | 2008-10-29 00:15:39 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-29 00:15:39 +0000 |
commit | 766269a59b9ca45fcd203ce559fe13003e9abc24 (patch) | |
tree | fa647dd5e7fa142014582d284c93b8b39fb2a2fc /OpenSim/Region/ClientStack | |
parent | Mantis #2489 (diff) | |
download | opensim-SC-766269a59b9ca45fcd203ce559fe13003e9abc24.zip opensim-SC-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.gz opensim-SC-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.bz2 opensim-SC-766269a59b9ca45fcd203ce559fe13003e9abc24.tar.xz |
Plumbing along....
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 39 |
1 files changed, 39 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; |