Esempio n. 1
0
 /// <summary>
 /// Refreshes the character's contact list.
 /// </summary>
 public void Refresh()
 {
     lock (this.lockObj)
     {
         Friends.ForEach((l) => this.character.Session.SendData(
                             new UpdateFriendPacketComposer(l, GetWorld(l)).Serialize()));
         this.character.Session.SendData(
             new UpdateIgnorePacketComposer(Ignored.ToArray()).Serialize());
     }
 }