Пример #1
0
        public bool Deserialize(Stream stream)
        {
            BinaryReader input = new BinaryReader(stream);

            // result
            if (Yippee.Net.Internal.Deserialize(input, out result_) == false)
            {
                return(false);
            }
            // infos
            if (infos_.Deserialize(stream) == false)
            {
                return(false);
            }
            // slot
            if (slot_.Deserialize(stream) == false)
            {
                return(false);
            }

            return(true);
        }
Пример #2
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);
        }