diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4780701..f6c505a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -15809,5 +15809,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
15809 | 15809 | ||
15810 | return osdEvent; | 15810 | return osdEvent; |
15811 | } | 15811 | } |
15812 | |||
15813 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
15814 | { | ||
15815 | AvatarInterestsReplyPacket packet = (AvatarInterestsReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarInterestsReply); | ||
15816 | |||
15817 | packet.AgentData = new AvatarInterestsReplyPacket.AgentDataBlock(); | ||
15818 | packet.AgentData.AgentID = AgentId; | ||
15819 | packet.AgentData.AvatarID = avatarID; | ||
15820 | |||
15821 | packet.PropertiesData = new AvatarInterestsReplyPacket.PropertiesDataBlock(); | ||
15822 | packet.PropertiesData.WantToMask = wantMask; | ||
15823 | packet.PropertiesData.WantToText = Utils.StringToBytes(wantText); | ||
15824 | packet.PropertiesData.SkillsMask = skillsMask; | ||
15825 | packet.PropertiesData.SkillsText = Utils.StringToBytes(skillsText); | ||
15826 | packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages); | ||
15827 | OutPacket(packet, ThrottleOutPacketType.Task); | ||
15828 | } | ||
15812 | } | 15829 | } |
15813 | } | 15830 | } |