Exemplo n.º 1
0
        public static async void OnFriendAdd(object sender, FriendAddEventArgs args)
        {
            var f = await args.SoraApi.GetFriendList();

            if (f.apiStatus == APIStatusType.OK)
            {
                FriendList.RefreshList(args.LoginUid, f.friendList);
            }
        }
Exemplo n.º 2
0
 public ValueTask FriendAddParse(object sender, FriendAddEventArgs eventArgs)
 {
     //throw new NotImplementedException();
     return(ValueTask.CompletedTask);
 }