Thank you, Fly-Man, for a patch that adds the stub to handle the

avatar interests update.
0.6.5-rc1
Melanie Thielker 2009-04-14 03:44:27 +00:00
parent 285dfe3055
commit a0417f5791
6 changed files with 20 additions and 0 deletions

View File

@ -751,6 +751,8 @@ namespace OpenSim.Client.MXP.ClientStack
public event PickInfoUpdate OnPickInfoUpdate;
public event AvatarNotesUpdate OnAvatarNotesUpdate;
public event MuteListRequest OnMuteListRequest;
public event AvatarInterestUpdate OnAvatarInterestUpdate;
#pragma warning restore 67
#endregion

View File

@ -439,6 +439,7 @@ namespace OpenSim.Framework
public delegate void PickInfoUpdate(IClientAPI client, UUID pickID, UUID creatorID, bool topPick, string name, string desc, UUID snapshotID, int sortOrder, bool enabled);
public delegate void AvatarNotesUpdate(IClientAPI client, UUID targetID, string notes);
public delegate void MuteListRequest(IClientAPI client, uint muteCRC);
public delegate void AvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages);
#endregion

View File

@ -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;

View File

@ -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();

View File

@ -372,6 +372,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC
public event MuteListRequest OnMuteListRequest;
public event AvatarInterestUpdate OnAvatarInterestUpdate;
#pragma warning restore 67
#endregion

View File

@ -279,6 +279,8 @@ namespace OpenSim.Tests.Common.Mock
public event MuteListRequest OnMuteListRequest;
public event AvatarInterestUpdate OnAvatarInterestUpdate;
#pragma warning restore 67
/// <value>