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

            KhaldunTastyTreat.Save(writer);

            writer.Write(DungeonPoints.Count);
            foreach (KeyValuePair <Mobile, int> kvp in DungeonPoints)
            {
                writer.Write(kvp.Key);
                writer.Write(kvp.Value);
            }
        }
Exemple #2
0
        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);
            writer.Write(2);

            KhaldunTastyTreat.Save(writer);
            PotionOfGloriousFortune.Save(writer);

            writer.Write(Enabled);
            writer.Write(QuestContentGenerated);

            writer.Write(DungeonPoints.Count);
            foreach (KeyValuePair <Mobile, int> kvp in DungeonPoints)
            {
                writer.Write(kvp.Key);
                writer.Write(kvp.Value);
            }
        }