Merge branch 'master' into careminster

This commit is contained in:
Melanie
2009-12-26 04:13:27 +00:00
8 changed files with 43 additions and 1 deletions

View File

@@ -15792,5 +15792,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return osdEvent;
}
public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages)
{
AvatarInterestsReplyPacket packet = (AvatarInterestsReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarInterestsReply);
packet.AgentData = new AvatarInterestsReplyPacket.AgentDataBlock();
packet.AgentData.AgentID = AgentId;
packet.AgentData.AvatarID = avatarID;
packet.PropertiesData = new AvatarInterestsReplyPacket.PropertiesDataBlock();
packet.PropertiesData.WantToMask = wantMask;
packet.PropertiesData.WantToText = Utils.StringToBytes(wantText);
packet.PropertiesData.SkillsMask = skillsMask;
packet.PropertiesData.SkillsText = Utils.StringToBytes(skillsText);
packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages);
OutPacket(packet, ThrottleOutPacketType.Task);
}
}
}