Exemplo n.º 1
0
        public bool Deserialize(Stream stream)
        {
            BinaryReader input = new BinaryReader(stream);

            // isAi
            if (Yippee.Net.Internal.Deserialize(input, out isAi_) == false)
            {
                return(false);
            }
            // profile
            if (profile_.Deserialize(stream) == false)
            {
                return(false);
            }
            // selectedCar
            if (selectedCar_.Deserialize(stream) == false)
            {
                return(false);
            }
            // equippedAbility
            if (equippedAbility_.Deserialize(stream) == false)
            {
                return(false);
            }
            // abilities
            if (abilities_.Deserialize(stream) == false)
            {
                return(false);
            }
            // matchItems
            if (matchItems_.Deserialize(stream) == false)
            {
                return(false);
            }

            return(true);
        }