diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-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 e7ce2e0..3ac4e5e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -15792,5 +15792,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
15792 | 15792 | ||
15793 | return osdEvent; | 15793 | return osdEvent; |
15794 | } | 15794 | } |
15795 | |||
15796 | public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) | ||
15797 | { | ||
15798 | AvatarInterestsReplyPacket packet = (AvatarInterestsReplyPacket)PacketPool.Instance.GetPacket(PacketType.AvatarInterestsReply); | ||
15799 | |||
15800 | packet.AgentData = new AvatarInterestsReplyPacket.AgentDataBlock(); | ||
15801 | packet.AgentData.AgentID = AgentId; | ||
15802 | packet.AgentData.AvatarID = avatarID; | ||
15803 | |||
15804 | packet.PropertiesData = new AvatarInterestsReplyPacket.PropertiesDataBlock(); | ||
15805 | packet.PropertiesData.WantToMask = wantMask; | ||
15806 | packet.PropertiesData.WantToText = Utils.StringToBytes(wantText); | ||
15807 | packet.PropertiesData.SkillsMask = skillsMask; | ||
15808 | packet.PropertiesData.SkillsText = Utils.StringToBytes(skillsText); | ||
15809 | packet.PropertiesData.LanguagesText = Utils.StringToBytes(languages); | ||
15810 | OutPacket(packet, ThrottleOutPacketType.Task); | ||
15811 | } | ||
15795 | } | 15812 | } |
15796 | } | 15813 | } |