public bool Deserialize(Stream stream)
        {
            BinaryReader input = new BinaryReader(stream);

            // result
            if (Yippee.Net.Internal.Deserialize(input, out result_) == false)
            {
                return(false);
            }
            // reward
            if (reward_.Deserialize(stream) == false)
            {
                return(false);
            }
            // updatedInfo
            if (updatedInfo_.Deserialize(stream) == false)
            {
                return(false);
            }

            return(true);
        }
        public bool Deserialize(Stream stream)
        {
            BinaryReader input = new BinaryReader(stream);
            // infos
            uint infosLength = 0;

            if (Yippee.Net.Internal.Deserialize(input, out infosLength) == false)
            {
                return(false);
            }
            Array.Resize(ref infos_, (int)infosLength);
            for (uint i = 0; i < infosLength; ++i)
            {
                achievement_info newInfos = new achievement_info();
                if (newInfos.Deserialize(stream) == false)
                {
                    return(false);
                }
                infos_[i] = newInfos;
            }

            return(true);
        }