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

            HalloweenPersistance.Serialize(writer);
        }
示例#2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            Movable = false;

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