mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Merge branch 'master' into careminster
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user