QQ好友
Inheritance: FriendInfo
示例#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;
 }
示例#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;
 }
示例#4
0
 public void AddFriend(QQFriend friend)
 {
     Friends[friend.Uin] = friend;
 }