diff options
Diffstat (limited to '')
-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; |