Exemplo n.º 1
0
 public void Update(HFriendData friend)
 {
     IsOnline           = friend.IsOnline;
     Figure             = friend.Figure;
     Motto              = friend.Motto;
     RelationshipStatus = friend.RelationshipStatus;
 }
Exemplo n.º 2
0
        public static HFriendData[] Parse(HPacket packet)
        {
            int removedFriends = packet.ReadInt32();
            int addedFriends   = packet.ReadInt32();

            var friends = new HFriendData[packet.ReadInt32()];

            for (int i = 0; i < friends.Length; i++)
            {
                friends[i] = new HFriendData(packet);
            }
            return(friends);
        }