//--------------------------Constructor----------------------------- public StatsWindow(SkillTree tree, CharItemData itemAttributes) { InitializeComponent(); this.Tree = tree; ItemAttributes = itemAttributes; requiredStats = new CharStats.VIPStats(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); characterStats = new CharStats(Tree); statsComparer = new StatsComparer(Tree); changeStatsGroupBox.DataContext = statsComparer; UpdateStatComparer(); InitListViews(); intitializationFinished = true; buildRecords = new Dictionary<HashSet<ushort>, CharStats.VIPStats>(); }
public override void UpdateStats(Dictionary<string, List<float>> attribs, int level, CharItemData itemData) { base.UpdateStats(attribs, level, itemData); SaveStats(); }