Esempio n. 1
0
 public void Update(HFriends friend)
 {
     IsOnline           = friend.IsOnline;
     Figure             = friend.Figure;
     Motto              = friend.Motto;
     RelationshipStatus = friend.RelationshipStatus;
 }
Esempio n. 2
0
        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);
        }