コード例 #1
0
ファイル: StudyOfSolen.cs プロジェクト: coderxan/MetaPets
        public override void ChildDeserialize(GenericReader reader)
        {
            int version = reader.ReadEncodedInt();

            int count = reader.ReadEncodedInt();

            for (int i = 0; i < count; i++)
            {
                NestArea nest = NestArea.GetByID(reader.ReadEncodedInt());
                m_StudiedNests.Add(nest);
            }

            m_StudiedSpecialNest = reader.ReadBool();
        }
コード例 #2
0
        public override void ChildDeserialize(IGenericReader reader)
        {
            var version = reader.ReadEncodedInt();

            var count = reader.ReadEncodedInt();

            for (var i = 0; i < count; i++)
            {
                var nest = NestArea.GetByID(reader.ReadEncodedInt());
                m_StudiedNests.Add(nest);
            }

            StudiedSpecialNest = reader.ReadBool();
        }