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

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

            Movable = false;

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