forked from HearthSim/Hearthstone-Deck-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Config.cs
1287 lines (913 loc) · 32.1 KB
/
Config.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#region
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using Hearthstone_Deck_Tracker.Enums;
using Hearthstone_Deck_Tracker.Utility;
using Hearthstone_Deck_Tracker.Utility.Logging;
#endregion
namespace Hearthstone_Deck_Tracker
{
public class Config
{
#region Settings
private static Config _config;
public static readonly string AppDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
+ @"\HearthstoneDeckTracker";
#if(!SQUIRREL)
[DefaultValue(".")]
public string DataDirPath = ".";
//updating from <= 0.5.1:
//SaveConfigInAppData and SaveDataInAppData are set to SaveInAppData AFTER the config isloaded
//=> Need to be null to avoid creating new config in appdata if config is stored locally.
[DefaultValue(true)]
public bool? SaveConfigInAppData;
[DefaultValue(true)]
public bool? SaveDataInAppData = null;
[DefaultValue(true)]
public bool SaveInAppData = true;
#endif
[DefaultValue("Blue")]
public string AccentName = "Blue";
[DefaultValue(MetroTheme.BaseLight)]
public MetroTheme AppTheme = MetroTheme.BaseLight;
[DefaultValue("00000000-0000-0000-0000-000000000000")]
public string ActiveDeckIdString = Guid.Empty.ToString();
[DefaultValue(false)]
public bool AdditionalOverlayTooltips = false;
[DefaultValue(false)]
public bool AdvancedOptions = false;
[DefaultValue(true)]
public bool AlwaysOverwriteLogConfig = true;
[DefaultValue(false)]
public bool AlternativeScreenCapture = false;
[DefaultValue(true)]
public bool ArenaRewardDialog = true;
[DefaultValue(false)]
public bool AlwaysShowGoldProgress = false;
[DefaultValue(true)]
public bool ArenaSummaryChartsExpanded = true;
[DefaultValue(DisplayedTimeFrame.AllTime)]
public DisplayedTimeFrame ArenaStatsTimeFrameFilter = DisplayedTimeFrame.AllTime;
[DefaultValue(null)]
public DateTime? ArenaStatsTimeFrameCustomStart = null;
[DefaultValue(null)]
public DateTime? ArenaStatsTimeFrameCustomEnd = null;
[DefaultValue(RegionAll.ALL)]
public RegionAll ArenaStatsRegionFilter = RegionAll.ALL;
[DefaultValue(true)]
public bool ArenaStatsShowLegends = true;
[DefaultValue(true)]
public bool ArenaStatsTextColoring = true;
[DefaultValue(true)]
public bool AskBeforeDiscardingGame = true;
[DefaultValue(true)]
public bool ArenaStatsIncludeArchived = true;
[DefaultValue(1)]
public int ArenaStatsCustomSeasonMin = 1;
[DefaultValue(null)]
public int? ArenaStatsCustomSeasonMax = null;
[DefaultValue(71.67)]
public double AttackIconPlayerVerticalPosition = 71.67;
[DefaultValue(67.5)]
public double AttackIconPlayerHorizontalPosition = 67.5;
[DefaultValue(19.91)]
public double AttackIconOpponentVerticalPosition = 19.91;
[DefaultValue(67.5)]
public double AttackIconOpponentHorizontalPosition = 67.5;
[DefaultValue(false)]
public bool AutoArchiveArenaDecks = false;
[DefaultValue(true)]
public bool AutoClearDeck = true;
[DefaultValue(true)]
public bool AutoDeckDetection = true;
[DefaultValue(true)]
public bool AutoGrayoutSecrets = true;
[DefaultValue(false)]
public bool AutoSaveOnImport = false;
[DefaultValue(false)]
public bool AutoUseDeck = false;
[DefaultValue(true)]
public bool DeckPickerCaps = true;
[DefaultValue("Arena {Date dd-MM hh:mm}")]
public string ArenaDeckNameTemplate = "Arena {Date dd-MM hh:mm}";
[DefaultValue("Brawl {Date dd-MM hh:mm}")]
public string BrawlDeckNameTemplate = "Brawl {Date dd-MM hh:mm}";
[DefaultValue(false)]
public bool BringHsToForeground = false;
[DefaultValue(false)]
public bool CardSortingClassFirst = false;
[DefaultValue(false)]
public bool CheckForBetaUpdates = false;
[DefaultValue(true)]
public bool CheckForUpdates = true;
[DefaultValue(ClassColorScheme.Classic)]
public ClassColorScheme ClassColorScheme = ClassColorScheme.Classic;
[DefaultValue(IconStyle.Round)]
public IconStyle ClassIconStyle = IconStyle.Round;
[DefaultValue("dark")]
public string CardBarTheme = "dark";
[DefaultValue(true)]
public bool CardDbIncludeWildOnlyCards = true;
[DefaultValue(true)]
public bool ConstructedAutoImportNew = true;
[DefaultValue(true)]
public bool ConstructedAutoUpdate = true;
[DefaultValue(false)]
public bool ConstructedStatsAsPercent = false;
[DefaultValue(false)]
public bool ConstructedStatsApplyTagFilters = false;
[DefaultValue(true)]
public bool ConstructedSummaryChartsExpanded = true;
[DefaultValue(GameMode.All)]
public GameMode ConstructedStatsModeFilter = GameMode.All;
[DefaultValue(DisplayedTimeFrame.CurrentSeason)]
public DisplayedTimeFrame ConstructedStatsTimeFrameFilter = DisplayedTimeFrame.CurrentSeason;
[DefaultValue(HeroClassStatsFilter.All)]
public HeroClassStatsFilter ConstructedStatsClassFilter = HeroClassStatsFilter.All;
[DefaultValue(HeroClassStatsFilter.All)]
public HeroClassStatsFilter ConstructedStatsOpponentClassFilter = HeroClassStatsFilter.All;
[DefaultValue(RegionAll.ALL)]
public RegionAll ConstructedStatsRegionFilter = RegionAll.ALL;
[DefaultValue(Format.All)]
public Format ConstructedStatsFormatFilter = Format.All;
[DefaultValue(AllYesNo.All)]
public AllYesNo ConstructedStatsCoinFilter = AllYesNo.All;
[DefaultValue(GameResultAll.All)]
public GameResultAll ConstructedStatsResultFilter = GameResultAll.All;
[DefaultValue(null)]
public DateTime? ConstructedStatsTimeFrameCustomStart = null;
[DefaultValue(null)]
public DateTime? ConstructedStatsTimeFrameCustomEnd = null;
[DefaultValue(true)]
public bool ConstructedStatsIncludeArchived = true;
[DefaultValue("L1")]
public string ConstructedStatsRankFilterMin = "L1";
[DefaultValue("25")]
public string ConstructedStatsRankFilterMax = "25";
[DefaultValue(1)]
public int ConstructedStatsCustomSeasonMin = 1;
[DefaultValue(null)]
public int? ConstructedStatsCustomSeasonMax = null;
[DefaultValue(0)]
public int ConstructedStatsTurnsFilterMin = 0;
[DefaultValue(99)]
public int ConstructedStatsTurnsFilterMax = 99;
[DefaultValue("")]
public string ConstructedStatsOpponentNameFilter = "";
[DefaultValue("")]
public string ConstructedStatsNoteFilter = "";
[DefaultValue(false)]
public bool ConstructedStatsActiveDeckOnly = false;
[DefaultValue(true)]
public bool ClearLogFileAfterGame = true;
[DefaultValue(false)]
public bool CloseWithHearthstone = false;
[DefaultValue(false)]
public bool StartHearthstoneWithHDT = false;
[DefaultValue("")]
public string CreatedByVersion = "";
[DefaultValue(null)]
public DateTime? CustomDisplayedTimeFrame = null;
[DefaultValue(-1)]
public int CustomHeight = -1;
[DefaultValue(-1)]
public int CustomWidth = -1;
[DefaultValue(false)]
public bool Debug = false;
[DefaultValue(50)]
public int DeckExportDelay = 60;
[DefaultValue(DeckLayout.Layout1)]
public DeckLayout DeckPickerItemLayout = DeckLayout.Layout1;
[DefaultValue(true)]
public bool DeckPickerWildIncludesStandard = true;
[DefaultValue(false)]
public bool DeckImportAutoDetectCardCount = false;
[DefaultValue(false)]
public bool DiscardGameIfIncorrectDeck = false;
[DefaultValue(false)]
public bool DiscardZeroTurnGame = false;
[DefaultValue(true)]
public bool DisplayHsReplayNoteLive = true;
[DefaultValue(GameMode.All)]
public GameMode DisplayedMode = GameMode.All;
[DefaultValue(DisplayedStats.All)]
public DisplayedStats DisplayedStats = DisplayedStats.All;
[DefaultValue(DisplayedTimeFrame.AllTime)]
public DisplayedTimeFrame DisplayedTimeFrame = DisplayedTimeFrame.AllTime;
[DefaultValue(true)]
public bool EnterToSaveNote = true;
[DefaultValue(0.06)]
public double ExportAllButtonX = 0.06;
[DefaultValue(0.915)]
public double ExportAllButtonY = 0.915;
[DefaultValue(false)]
public bool ExportAddDeckVersionToName = false;
[DefaultValue(0.118)]
public double ExportZeroButtonX = 0.118;
[DefaultValue(0.917)]
public double ExportZeroButtonY = 0.917;
[DefaultValue(0.108)]
public double ExportZeroSquareX = 0.108;
[DefaultValue(0.907)]
public double ExportZeroSquareY = 0.907;
[DefaultValue(0.049)]
public double ExportSetsButtonX = 0.049;
[DefaultValue(0.917)]
public double ExportSetsButtonY = 0.917;
[DefaultValue(0.067)]
public double ExportAllSetsButtonX = 0.067;
[DefaultValue(0.45)]
public double ExportStandardSetButtonY = 0.45;
[DefaultValue(0.04)]
public double ExportCard1X = 0.04;
[DefaultValue(0.2)]
public double ExportCard2X = 0.2;
[DefaultValue(0.168)]
public double ExportCardsY = 0.168;
[DefaultValue(0.185)]
public double ExportClearCheckYFixed = 0.185;
[DefaultValue(0.83)]
public double ExportClearX = 0.83;
[DefaultValue(0.13)]
public double ExportClearY = 0.13;
[DefaultValue(false)]
public bool ExportForceClear = false;
[DefaultValue(0.85)]
public double ExportNameDeckX = 0.85;
[DefaultValue(0.075)]
public double ExportNameDeckY = 0.075;
[DefaultValue(false)]
public bool ExportPasteClipboard = false;
[DefaultValue(0.5)]
public double ExportSearchBoxX = 0.5;
[DefaultValue(0.915)]
public double ExportSearchBoxY = 0.915;
[DefaultValue(true)]
public bool ExportSetDeckName = true;
[DefaultValue(1)]
public int ExportStartDelay = 1;
[DefaultValue(true)]
public bool EnableExportAutoFilter = true;
[DefaultValue(false)]
public bool ExtraFeatures = false;
[DefaultValue(true)]
public bool ExtraFeaturesFriendslist = true;
[DefaultValue(false)]
public bool ExtraFeaturesSecrets = false;
[DefaultValue(true)]
public bool FlashHsOnTurnStart = true;
[DefaultValue(false)]
public bool ForceLocalReplayViewer = false;
[DefaultValue(false)]
public bool ForceMouseHook = false;
[DefaultValue(0.075)]
public double GoldProgessX = 0.76;
[DefaultValue(0.075)]
public double GoldProgessY = 0.93;
[DefaultValue(new[] {0, 0, 0, 0, 0})]
//move this to some data file
public int[] GoldProgress = {0, 0, 0, 0, 0};
//move this to some data file
public DateTime[] GoldProgressLastReset =
{
DateTime.MinValue,
DateTime.MinValue,
DateTime.MinValue,
DateTime.MinValue,
DateTime.MinValue
};
[DefaultValue(new[] {0, 0, 0, 0, 0})]
//move this to some data file
public int[] GoldProgressTotal = {0, 0, 0, 0, 0};
[DefaultValue(true)]
public bool GoogleAnalytics = true;
[DefaultValue(null)]
public bool? HearthStatsAutoDeleteDecks = null;
[DefaultValue(null)]
public bool? HearthStatsAutoDeleteMatches = null;
[DefaultValue(false)]
public bool HearthStatsAutoSyncInBackground = false;
[DefaultValue(true)]
public bool HearthStatsAutoUploadNewDecks = true;
[DefaultValue(true)]
public bool HearthStatsAutoUploadNewGames = true;
[DefaultValue(false)]
public bool HearthStatsSyncOnStart = false;
[DefaultValue(@"C:\Program Files (x86)\Hearthstone")]
public string HearthstoneDirectory = @"C:\Program Files (x86)\Hearthstone";
[DefaultValue("Logs")]
public string HearthstoneLogsDirectoryName = "Logs";
[DefaultValue("Hearthstone")]
public string HearthstoneWindowName = "Hearthstone";
[DefaultValue(HeroClassStatsFilter.All)]
public HeroClassStatsFilter ArenaStatsClassFilter = HeroClassStatsFilter.All;
[DefaultValue(false)]
public bool HideDecksInOverlay = false;
[DefaultValue(true)]
public bool HideDrawChances = true;
[DefaultValue(false)]
public bool HideInBackground = false;
[DefaultValue(true)]
public bool HideInMenu = true;
[DefaultValue(true)]
public bool HideOpponentAttackIcon = true;
[DefaultValue(DisplayMode.Auto)]
public DisplayMode OpponentCthunCounter = DisplayMode.Auto;
[DefaultValue(DisplayMode.Never)]
public DisplayMode OpponentSpellsCounter = DisplayMode.Never;
[DefaultValue(false)]
public bool HideOpponentCardAge = false;
[DefaultValue(false)]
public bool HideOpponentCardCount = false;
[DefaultValue(false)]
public bool HideOpponentCardMarks = false;
[DefaultValue(false)]
public bool HideOpponentCards = false;
[DefaultValue(true)]
public bool HideOpponentDrawChances = true;
[DefaultValue(false)]
public bool HideOpponentFatigueCount = false;
[DefaultValue(false)]
public bool HideOverlay = false;
[DefaultValue(false)]
public bool HideOverlayInSpectator = false;
[DefaultValue(true)]
public bool HidePlayerAttackIcon = true;
[DefaultValue(DisplayMode.Auto)]
public DisplayMode PlayerCthunCounter = DisplayMode.Auto;
[DefaultValue(DisplayMode.Auto)]
public DisplayMode PlayerSpellsCounter = DisplayMode.Auto;
[DefaultValue(false)]
public bool HidePlayerCardCount = false;
[DefaultValue(false)]
public bool HidePlayerCards = false;
[DefaultValue(false)]
public bool HidePlayerFatigueCount = false;
[DefaultValue(false)]
public bool HideSecrets = false;
[DefaultValue(false)]
public bool HideTimers = false;
[DefaultValue(false)]
public bool HighlightCardsInHand = false;
[DefaultValue(false)]
public bool HighlightDiscarded = false;
[DefaultValue(true)]
public bool HighlightLastDrawn = true;
[DefaultValue(true)]
public bool HsReplayAutoUpload = true;
[DefaultValue(true)]
public bool HsReplayUploadRanked = true;
[DefaultValue(true)]
public bool HsReplayUploadCasual = true;
[DefaultValue(true)]
public bool HsReplayUploadArena = true;
[DefaultValue(true)]
public bool HsReplayUploadBrawl = true;
[DefaultValue(true)]
public bool HsReplayUploadFriendly = true;
[DefaultValue(true)]
public bool HsReplayUploadPractice = true;
[DefaultValue(true)]
public bool HsReplayUploadSpectator = true;
[DefaultValue("00000000-0000-0000-0000-000000000000")]
public string Id = Guid.Empty.ToString();
[DefaultValue(-1)]
public int IgnoreNewsId = -1;
[DefaultValue(true)]
public bool KeepDecksVisible = true;
[DefaultValue(true)]
public bool KeepStatsWhenDeletingDeck = true;
[Obsolete]
[DefaultValue("")]
public string LastDeck = "";
[DefaultValue(0L)]
public long LastHearthStatsDecksSync = 0L;
[DefaultValue(0L)]
public long LastHearthStatsGamesSync = 0L;
[DefaultValue(LastPlayedDateFormat.DayMonthYear)]
public LastPlayedDateFormat LastPlayedDateFormat = LastPlayedDateFormat.DayMonthYear;
[DefaultValue(Language.enUS)]
public Language Localization = Language.enUS;
[DefaultValue(false)]
public bool LogConfigConsolePrinting = false;
[DefaultValue(0)]
public int LogLevel = 0;
[DefaultValue(StatType.Mana)]
public StatType ManaCurveFilter = StatType.Mana;
[DefaultValue(true)]
public bool ManaCurveMyDecks = true;
[DefaultValue(false)]
public bool MinimizeToTray = false;
[DefaultValue(null)]
public bool? NetDeckClipboardCheck = null;
[DefaultValue(null)]
public bool? NonLatinUseDefaultFont = null;
[DefaultValue(false)]
public bool NoteDialogDelayed = false;
[DefaultValue(4)]
public int NotificationFadeOutDelay = 4;
[DefaultValue(0)]
public int OffsetX = 0;
[DefaultValue(0)]
public int OffsetY = 0;
[DefaultValue(72)]
public double OpponentDeckHeight = 72;
[DefaultValue(0.5)]
public double OpponentDeckLeft = 0.5;
[DefaultValue(12.5)]
public double OpponentDeckTop = 12.5;
[DefaultValue(true)]
public bool OpponentIncludeCreated = true;
[DefaultValue(100)]
public double OpponentOpacity = 100;
[DefaultValue(400)]
public int OpponentWindowHeight = 400;
[DefaultValue(null)]
public int? OpponentWindowLeft = null;
[DefaultValue(false)]
public bool OpponentWindowOnStart = false;
[DefaultValue(null)]
public int? OpponentWindowTop = null;
[DefaultValue(true)]
public bool OverlayCardAnimations = true;
[DefaultValue(true)]
public bool OverlayCardAnimationsOpacity = true;
[DefaultValue(true)]
public bool OverlayCardMarkToolTips = true;
[DefaultValue(true)]
public bool OverlayCardToolTips = true;
[DefaultValue(250)]
public int OverlayMouseOverTriggerDelay = 250;
[DefaultValue(100)]
public double OverlayOpacity = 100;
[DefaultValue(100)]
public double OverlayOpponentScaling = 100;
[DefaultValue(100)]
public double OverlayPlayerScaling = 100;
[DefaultValue(false)]
public bool OverlayCenterPlayerStackPanel = false;
[DefaultValue(false)]
public bool OverlayCenterOpponentStackPanel = false;
[DefaultValue(false)]
public bool OverlaySecretToolTipsOnly = false;
[DefaultValue(new[] { DeckPanel.Winrate, DeckPanel.Cards, DeckPanel.CardCounter, DeckPanel.DrawChances, DeckPanel.Fatigue })]
public DeckPanel[] DeckPanelOrderOpponent = { DeckPanel.Winrate, DeckPanel.Cards, DeckPanel.CardCounter, DeckPanel.DrawChances, DeckPanel.Fatigue };
[DefaultValue(new[] { DeckPanel.DeckTitle, DeckPanel.Wins, DeckPanel.Cards, DeckPanel.CardCounter, DeckPanel.DrawChances, DeckPanel.Fatigue })]
public DeckPanel[] DeckPanelOrderPlayer = { DeckPanel.DeckTitle, DeckPanel.Wins, DeckPanel.Cards, DeckPanel.CardCounter, DeckPanel.DrawChances, DeckPanel.Fatigue };
[DefaultValue(new[] { "Win Rate", "Cards", "Card Counter", "Draw Chances", "Fatigue Counter" })]
public string[] PanelOrderOpponent = { "Win Rate", "Cards", "Card Counter", "Draw Chances", "Fatigue Counter" };
[DefaultValue(new[] { "Deck Title", "Wins", "Cards", "Card Counter", "Draw Chances", "Fatigue Counter" })]
public string[] PanelOrderPlayer = { "Deck Title", "Wins", "Cards", "Card Counter", "Draw Chances", "Fatigue Counter" };
[DefaultValue(88)]
public double PlayerDeckHeight = 88;
[DefaultValue(99.5)]
public double PlayerDeckLeft = 99.5;
[DefaultValue(2)]
public double PlayerDeckTop = 2;
[DefaultValue(100)]
public double PlayerOpacity = 100;
[DefaultValue(400)]
public int PlayerWindowHeight = 400;
[DefaultValue(null)]
public int? PlayerWindowLeft = null;
[DefaultValue(false)]
public bool PlayerWindowOnStart = false;
[DefaultValue(null)]
public int? PlayerWindowTop = null;
[DefaultValue(true)]
public bool PrioritizeGolden = true;
[DefaultValue(false)]
public bool RarityCardFrames = false;
[DefaultValue(false)]
public bool RarityCardGems = false;
[DefaultValue(true)]
public bool RecordArena = true;
[DefaultValue(true)]
public bool RecordCasual = true;
[DefaultValue(true)]
public bool RecordFriendly = true;
[DefaultValue(false)]
public bool RecordOther = false;
[DefaultValue(true)]
public bool RecordBrawl = true;
[DefaultValue(false)]
public bool RecordPractice = false;
[DefaultValue(true)]
public bool RecordRanked = true;
[DefaultValue(true)]
public bool RecordReplays = true;
[DefaultValue(false)]
public bool RecordSpectator = false;
[DefaultValue(true)]
public bool RememberHearthStatsLogin = true;
[DefaultValue(false)]
public bool RemoveCardsFromDeck = false;
[DefaultValue(true)]
public bool ReplayViewerShowAttack = true;
[DefaultValue(true)]
public bool ReplayViewerShowDeath = true;
[DefaultValue(true)]
public bool ReplayViewerShowDiscard = true;
[DefaultValue(true)]
public bool ReplayViewerShowDraw = true;
[DefaultValue(true)]
public bool ReplayViewerShowHeroPower = true;
[DefaultValue(true)]
public bool ReplayViewerShowPlay = true;
[DefaultValue(true)]
public bool ReplayViewerShowSecret = true;
[DefaultValue(true)]
public bool ReplayViewerShowSummon = true;
[DefaultValue(660)]
public int ReplayWindowHeight = 660;
[DefaultValue(null)]
public int? ReplayWindowLeft = null;
[DefaultValue(null)]
public int? ReplayWindowTop = null;
[DefaultValue(1250)]
public int ReplayWindowWidth = 1250;
[DefaultValue(15)]
public double SecretsLeft = 15;
[DefaultValue(100)]
public double SecretsOpacity = 100;
[DefaultValue(1)]
public double SecretsPanelScaling = 1;
[DefaultValue(5)]
public double SecretsTop = 5;
[DefaultValue(ArenaImportingBehaviour.AutoImportSave)]
public ArenaImportingBehaviour? SelectedArenaImportingBehaviour = ArenaImportingBehaviour.AutoImportSave;
[DefaultValue(new[] {HeroClassAll.All})]
public HeroClassAll[] SelectedDeckPickerClasses = {HeroClassAll.All};
[DefaultValue("Name")]
public string SelectedDeckSorting = "Name";
[DefaultValue("Name")]
public string SelectedDeckSortingArena = "Name";
[DefaultValue(DeckType.All)]
public DeckType SelectedDeckPickerDeckType = DeckType.All;
[DefaultValue("enUS")]
public string SelectedLanguage = "enUS";
[XmlArray(ElementName = "AlternativeLanguages")]
[XmlArrayItem(ElementName = "Language")]
public List<string> AlternativeLanguages = new List<string>();
[DefaultValue(GameMode.All)]
public GameMode SelectedStatsFilterGameMode = GameMode.All;
[DefaultValue(TimeFrame.AllTime)]
public TimeFrame SelectedStatsFilterTimeFrame = TimeFrame.AllTime;
[XmlArray(ElementName = "SelectedTags")]
[XmlArrayItem(ElementName = "Tag")]
public List<string> SelectedTags = new List<string>();
[DefaultValue("Theme")]
public string SelectedWindowBackground = "Theme";
[Obsolete]
[DefaultValue(false)]
public bool ShowAllDecks = false;
[DefaultValue(true)]
public bool ShowArenaImportMessage = true;
[DefaultValue(false)]
public bool ShowBatteryLife = false;
[DefaultValue(false)]
public bool ShowBatteryLifePercent = false;
[DefaultValue(false)]
public bool ShowCapturableOverlay = false;
[DefaultValue(false)]
public bool ShowDeckTitle = false;
[DefaultValue(false)]
public bool ShowDeckWins = false;
[DefaultValue(true)]
public bool ShowExportingDialog = true;
[DefaultValue(true)]
public bool ShowFlavorText = true;
[DefaultValue(true)]
public bool ShowGameResultNotifications = true;
[DefaultValue("c7b1c7904951f7a")]
public string ImgurClientId = "c7b1c7904951f7a";
[DefaultValue(false)]
public bool ShowInTaskbar = false;
[DefaultValue(false)]
public bool ShowLastPlayedDateOnDeck = false;
[DefaultValue(false)]
public bool ShowLoginDialog = false;
[DefaultValue(true)]
public bool ShowSplashScreen = true;
[DefaultValue(false)]
public bool ShowLogTab = false;
[DefaultValue(false)]
public bool ShowNoteDialogAfterGame = false;
[DefaultValue(false)]
public bool ShowPlayerGet = false;
[DefaultValue(false)]
public bool ShowWinRateAgainst = false;
[DefaultValue(true)]
public bool ShowReplayShareToast = true;
[DefaultValue(true)]
public bool SortDecksByClass = true;
[DefaultValue(false)]
public bool SortDecksByClassArena = false;
[DefaultValue(false)]
public bool StartMinimized = false;
[DefaultValue(false)]
public bool StartWithWindows = false;
[DefaultValue(true)]
public bool StatsAutoRefresh = true;
[DefaultValue(false)]
public bool StatsClassOverviewIsExpanded = false;
[DefaultValue(true)]
public bool StatsDeckOverviewIsExpanded = true;
[DefaultValue(HeroClassAll.All)]
public HeroClassAll StatsFilterOpponentHeroClass = HeroClassAll.All;
[DefaultValue(false)]
public bool StatsInWindow = false;
[DefaultValue(false)]
public bool StatsOverallApplyTagFilters = false;
[DefaultValue(FilterDeckMode.WithDeck)]
public FilterDeckMode StatsOverallFilterDeckMode = FilterDeckMode.WithDeck;
[DefaultValue(HeroClassAll.All)]
public HeroClassAll StatsOverallFilterPlayerHeroClass = HeroClassAll.All;
[DefaultValue(672)]
public int StatsWindowHeight = 672;
[DefaultValue(null)]
public int? StatsWindowLeft = null;
[DefaultValue(null)]
public int? StatsWindowTop = null;
[DefaultValue(510)]
public int StatsWindowWidth = 510;
[DefaultValue("#FF00FF")]
public string StreamingOverlayBackground = "#FF00FF";
[DefaultValue(true)]
public bool TagDecksOnImport = true;
[DefaultValue(TagFilerOperation.Or)]
public TagFilerOperation TagOperation = TagFilerOperation.Or;
[DefaultValue(false)]
public bool TimerAlert = false;
[DefaultValue(30)]
public int TimerAlertSeconds = 30;
[DefaultValue(75)]
public double TimerLeft = 75;
[DefaultValue(130)]
public int TimerWindowHeight = 130;
[DefaultValue(null)]
public int? TimerWindowLeft = null;
[DefaultValue(false)]
public bool TimerWindowOnStartup = false;
[DefaultValue(null)]
public int? TimerWindowTop = null;
[DefaultValue(false)]
public bool TimerWindowTopmost = false;
[DefaultValue(false)]
public bool TimerWindowTopmostIfHsForeground = false;
[DefaultValue(150)]
public int TimerWindowWidth = 150;
[DefaultValue(72)]
public double TimersHorizontalPosition = 72;
[DefaultValue(48)]
public double TimersHorizontalSpacing = 48;
[DefaultValue(44.5)]
public double TimersVerticalPosition = 44.5;
[DefaultValue(42)]
public double TimersVerticalSpacing = 42;
[DefaultValue(true)]
public bool TrackerCardToolTips = true;
[DefaultValue(null)]
public int? TrackerWindowLeft = null;