예제 #1
0
 /// <summary>
 /// 保存用户注册时候的图片
 /// </summary>
 /// <param name="userImg"></param>
 public static void SaveRegisterUserHeadImg(Image image, GGUserInfo user)
 {
     HeadImgUtils.SaveOfflineHeadImg(image, user); //添离线图片
     HeadImgUtils.SaveOnlineHeadImg(image, user);  //添加在线图片
 }
예제 #2
0
 /// <summary>
 /// 保存离线头像
 /// </summary>
 /// <param name="heaImg"></param>
 /// <param name="userImg"></param>
 /// <returns></returns>
 private static void SaveOfflineHeadImg(Image image, GGUserInfo user)
 {
     user.isOnLine = false;
     HeadImgUtils.SaveHeadImg(image, user);
 }