diff options
author | Melanie | 2009-10-16 13:28:40 +0100 |
---|---|---|
committer | Melanie | 2009-10-16 13:28:40 +0100 |
commit | 0487092d15e6e456d8516bd7ae2487809c50ffc6 (patch) | |
tree | 5efc764fd95cac9527f991540f8e1d4fdb368d09 /OpenSim/Region | |
parent | minor: Change commented out authentication service realm setting to "users" t... (diff) | |
download | opensim-SC-0487092d15e6e456d8516bd7ae2487809c50ffc6.zip opensim-SC-0487092d15e6e456d8516bd7ae2487809c50ffc6.tar.gz opensim-SC-0487092d15e6e456d8516bd7ae2487809c50ffc6.tar.bz2 opensim-SC-0487092d15e6e456d8516bd7ae2487809c50ffc6.tar.xz |
Thank you, Fly man, for plumbing the AvatarInterestsUpdate packet
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4b27fa2..05a2a63 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -9969,11 +9969,28 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9969 | Utils.BytesToString(avatarNotesUpdate.Data.Notes)); | 9969 | Utils.BytesToString(avatarNotesUpdate.Data.Notes)); |
9970 | break; | 9970 | break; |
9971 | 9971 | ||
9972 | // case PacketType.AvatarInterestsUpdate: | 9972 | case PacketType.AvatarInterestsUpdate: |
9973 | // AvatarInterestsUpdatePacket avatarInterestUpdate = | 9973 | AvatarInterestsUpdatePacket avatarInterestUpdate = |
9974 | // (AvatarInterestsUpdatePacket)Pack; | 9974 | (AvatarInterestsUpdatePacket)Pack; |
9975 | // | 9975 | |
9976 | // break; | 9976 | #region Packet Session and User Check |
9977 | if (m_checkPackets) | ||
9978 | { | ||
9979 | if (avatarInterestUpdate.AgentData.SessionID != SessionId || | ||
9980 | avatarInterestUpdate.AgentData.AgentID != AgentId) | ||
9981 | break; | ||
9982 | } | ||
9983 | #endregion | ||
9984 | |||
9985 | AvatarInterestUpdate handlerAvatarInterestUpdate = OnAvatarInterestUpdate; | ||
9986 | if (handlerAvatarInterestUpdate != null) | ||
9987 | handlerAvatarInterestUpdate(this, | ||
9988 | avatarInterestUpdate.PropertiesData.WantToMask, | ||
9989 | Utils.BytesToString(avatarInterestUpdate.PropertiesData.WantToText), | ||
9990 | avatarInterestUpdate.PropertiesData.SkillsMask, | ||
9991 | Utils.BytesToString(avatarInterestUpdate.PropertiesData.SkillsText), | ||
9992 | Utils.BytesToString(avatarInterestUpdate.PropertiesData.LanguagesText)); | ||
9993 | break; | ||
9977 | 9994 | ||
9978 | case PacketType.PlacesQuery: | 9995 | case PacketType.PlacesQuery: |
9979 | PlacesQueryPacket placesQueryPacket = | 9996 | PlacesQueryPacket placesQueryPacket = |