///<summary>Raises the AvatarInterestsReply Event</summary> /// <param name="e">A AvatarInterestsReplyEventArgs object containing /// the data sent from the simulator</param> protected virtual void OnAvatarInterestsReply(AvatarInterestsReplyEventArgs e) { EventHandler<AvatarInterestsReplyEventArgs> handler = m_AvatarInterestsReply; if (handler != null) handler(this, e); }
public void Avatars_AvatarInterestsReply(object sender, AvatarInterestsReplyEventArgs e) { Hashtable item = new Hashtable(); item.Add("MessageType", "AvatarInterests"); item.Add("AvatarID", e.AvatarID); item.Add("WantToMask", e.Interests.WantToMask); item.Add("WantToText", e.Interests.WantToText); item.Add("SkillsMask", e.Interests.SkillsMask); item.Add("SkillsText", e.Interests.SkillsText); item.Add("LanguagesText", e.Interests.LanguagesText); enqueue(item); }
private void Avatars_AvatarInterestsReply(object sender, AvatarInterestsReplyEventArgs e) { if (e.AvatarID != targetID) return; lock (ReceivedProfileEvent) { Interests = e.Interests; ReceivedInterests = true; if (ReceivedInterests && ReceivedProperties && ReceivedGroups) ReceivedProfileEvent.Set(); } }
public virtual void Avatars_OnAvatarInterests(object sender, AvatarInterestsReplyEventArgs e) { OnEvent("On-Avatar-Interests", paramNamesOnAvatarInterests, paramTypesOnAvatarInterests, e); }
void Avatars_AvatarInterestsReply(object sender, AvatarInterestsReplyEventArgs e) { lock (ReceivedProfileEvent) { Interests = e.Interests; ReceivedInterests = true; if (ReceivedInterests && ReceivedProperties && ReceivedGroups) ReceivedProfileEvent.Set(); } }