示例#1
0
        public ClientUserAccount(string nickname, int uuid, bool online, bool banned, Image img)
        {
            Nickname = nickname;
            UUID     = uuid;

            Online = online;

            this.banned = banned;

            chat = new List <ChatNode>();

            lastShownTime = DateTime.MinValue;

            profileImage = ImageUtils.GetBytes(img);
        }
示例#2
0
        public ProfileUpdatePacket(string nickname, Image img)
        {
            Nickname = nickname;

            profileImage = ImageUtils.GetBytes(img);
        }
示例#3
0
 public void SetProfileImage(Image img)
 {
     profileImage = ImageUtils.GetBytes(img);
 }