/// <summary>
        /// Creates a CharacterInfoPacket based on a client's stats.
        /// </summary>
        /// <param name="client">The client.</param>
        /// <returns>Returns the CharacterInfoPacket.</returns>
        public static CharacterInfoPacket Create(Entities.GameClient client)
        {
            CharacterInfoPacket info = new CharacterInfoPacket(
                new StringPacker(client.Name, "", client.SpouseName));

            info.EntityUID       = client.EntityUID;
            info.Mesh            = client.Mesh;
            info.HairStyle       = client.HairStyle;
            info.Money           = client.Money;
            info.CPs             = client.CPs;
            info.Experience      = client.Experience;
            info.Strength        = client.Strength;
            info.Agility         = client.Agility;
            info.Vitality        = client.Vitality;
            info.Spirit          = client.Spirit;
            info.AttributePoints = client.AttributePoints;
            info.HP            = (ushort)client.MaxHP;
            info.MP            = (ushort)client.MaxMP;
            info.PKPoints      = (ushort)client.PKPoints;
            info.Level         = client.Level;
            info.Class         = client.Class;
            info.NameDisplayed = true;
            info.PlayerTitle   = client.PlayerTitle;

            return(info);
        }
        /// <summary>
        /// Creates a CharacterInfoPacket based on a client's stats.
        /// </summary>
        /// <param name="client">The client.</param>
        /// <returns>Returns the CharacterInfoPacket.</returns>
        public static CharacterInfoPacket Create(Entities.GameClient client)
        {
            CharacterInfoPacket info = new CharacterInfoPacket(
                new StringPacker(client.Name, "", client.SpouseName));
            info.EntityUID = client.EntityUID;
            info.Mesh = client.Mesh;
            info.HairStyle = client.HairStyle;
            info.Money = client.Money;
            info.CPs = client.CPs;
            info.Experience = client.Experience;
            info.Strength = client.Strength;
            info.Agility = client.Agility;
            info.Vitality = client.Vitality;
            info.Spirit = client.Spirit;
            info.AttributePoints = client.AttributePoints;
            info.HP = (ushort)client.MaxHP;
            info.MP = (ushort)client.MaxMP;
            info.PKPoints = (ushort)client.PKPoints;
            info.Level = client.Level;
            info.Class = client.Class;
            info.NameDisplayed = true;
            info.PlayerTitle = client.PlayerTitle;

            return info;
        }