コード例 #1
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);
            writer.Write((int)0); //Version

            TitlePersistance.Serialize(writer);
        }
コード例 #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            Movable = false;

            TitlePersistance.PersistanceItem = this;
            TitlePersistance.Deserialize(reader);
        }