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); }
public ProfileUpdatePacket(string nickname, Image img) { Nickname = nickname; profileImage = ImageUtils.GetBytes(img); }
public void SetProfileImage(Image img) { profileImage = ImageUtils.GetBytes(img); }