protected override void VersionSpecificUpdateFile(XmlDocument doc, Tracker tracker)
 {
     foreach (XmlNode dataNode in doc.SelectNodes("/Tracker/Decks/Deck/ArenaRank"))
     {
         if (!String.IsNullOrWhiteSpace(dataNode.InnerText))
         {
             ArenaRank value = (ArenaRank)Enum.Parse(typeof(ArenaRank), dataNode.InnerText);
             dataNode.InnerText = ((int)value).ToString();
         }
     }
 }
Exemple #2
0
 public CharacterRecord(long id, string name, int accountId, ContextActorLook look, sbyte breedId, ushort cosmeticId, bool sex, int mapId, ushort cellid,
                        sbyte direction, int kamas, ulong exp, int spawnPointMapId, List <byte> knownEmotes, Stats stats,
                        ushort spellsPoints, ushort statsPoints, CharacterAlignment alignment, List <ushort> knownOrnaments, List <ushort> knownTitles,
                        List <CharacterJob> jobs, List <short> doneObjectives, List <CharacterSpell> spells,
                        List <CharacterHumanOption> humanOptions, ArenaRank arenaRank, List <CharacterShortcut> shortcuts, int lastAlmanachDay,
                        int guildId, int prestige, sbyte remodelingMask)
 {
     this.Id              = id;
     this.Name            = name;
     this.AccountId       = accountId;
     this.Look            = look;
     this.BreedId         = breedId;
     this.CosmeticId      = cosmeticId;
     this.Sex             = sex;
     this.MapId           = mapId;
     this.CellId          = cellid;
     this.Direction       = direction;
     this.Kamas           = kamas;
     this.Exp             = exp;
     this.SpawnPointMapId = spawnPointMapId;
     this.KnownEmotes     = knownEmotes;
     this.Stats           = stats;
     this.SpellPoints     = spellsPoints;
     this.StatsPoints     = statsPoints;
     this.Alignment       = alignment;
     this.KnownOrnaments  = knownOrnaments;
     this.KnownTitles     = knownTitles;
     this.Jobs            = jobs;
     this.DoneObjectives  = doneObjectives;
     this.Spells          = spells;
     this.HumanOptions    = humanOptions;
     this.ArenaRank       = arenaRank;
     this.Shortcuts       = shortcuts;
     this.LastAlmanachDay = lastAlmanachDay;
     this.GuildId         = guildId;
     this.Prestige        = prestige;
     this.Muted           = false;
     this.RemodelingMask  = remodelingMask;
     this.Idols           = new List <ushort>();
 }