public void Update(HFriends friend) { IsOnline = friend.IsOnline; Figure = friend.Figure; Motto = friend.Motto; RelationshipStatus = friend.RelationshipStatus; }
public static HFriends[] Parse(HMessage packet) { int removedFriends = packet.ReadInteger(); int addedFriends = packet.ReadInteger(); var friends = new HFriends[packet.ReadInteger()]; for (int i = 0; i < friends.Length; i++) { friends[i] = new HFriends(packet); } return(friends); }