QQ好友
Inheritance: FriendInfo
Example #1
0
 public void AddFriend(QQFriend friend)
 {
     if (CategoryDic.ContainsKey(friend.CategoryIndex))
     {
         CategoryDic[friend.CategoryIndex].AddFriend(friend);
     }
     else
     {
         AddCategory(new Category() { Index = friend.CategoryIndex });
         AddFriend(friend);
     }
     FriendDic[friend.Uin] = friend;
 }
Example #2
0
 public FriendMessage(QQFriend friend, string text) : this()
 {
     Friend = friend;
     Contents.Add(new TextItem(text));
     Contents.Add(new FontItem());
 }
 public GetFriendQQNumberAction(IQQContext context, QQFriend friend, ActionEventListener listener = null)
     : base(context, listener)
 {
     _friend = friend;
 }
Example #4
0
 public void AddFriend(QQFriend friend)
 {
     Friends[friend.Uin] = friend;
 }