From a0417f57913735a032270cb8ce89f7a3744f4da9 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 14 Apr 2009 03:44:27 +0000 Subject: Thank you, Fly-Man, for a patch that adds the stub to handle the avatar interests update. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 11 +++++++++++ OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 2 ++ OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 2 ++ 3 files changed, 15 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 2c8474c..7ddbfbf 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -309,6 +309,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private MuteListRequest handlerMuteListRequest; + private AvatarInterestUpdate handlerAvatarInterestUpdate; + private readonly IGroupsModule m_GroupsModule; //private TerrainUnacked handlerUnackedTerrain = null; @@ -1105,6 +1107,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP public event MuteListRequest OnMuteListRequest; + public event AvatarInterestUpdate OnAvatarInterestUpdate; + public void ActivateGesture(UUID assetId, UUID gestureId) { } @@ -9106,6 +9110,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP avatarNotesUpdate.Data.TargetID, Utils.BytesToString(avatarNotesUpdate.Data.Notes)); break; + + case PacketType.AvatarInterestsUpdate: + AvatarInterestsUpdatePacket avatarInterestUpdate = + (AvatarInterestsUpdatePacket)Pack; + + break; + default: m_log.Warn("[CLIENT]: unhandled packet " + Pack); break; diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 26839f3..a6e55f4 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -266,6 +266,8 @@ namespace OpenSim.Region.Examples.SimpleModule public event MuteListRequest OnMuteListRequest; + public event AvatarInterestUpdate OnAvatarInterestUpdate; + #pragma warning restore 67 private UUID myID = UUID.Random(); diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index edd6b67..8b733cd 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs @@ -372,6 +372,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC public event MuteListRequest OnMuteListRequest; + public event AvatarInterestUpdate OnAvatarInterestUpdate; + #pragma warning restore 67 #endregion -- cgit v1.1