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

            OceanHotspotPersistance.Serialize(writer);
        }
예제 #2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            Movable = false;

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