From d7e355aa769a1484af3f116aae5e82ab0c6005a8 Mon Sep 17 00:00:00 2001 From: Yan Maniez Date: Mon, 28 May 2018 12:47:01 +0200 Subject: [PATCH] Filtres --- .../AideDeJeu/ViewModels/FilterViewModel.cs | 142 +++++++++--------- AideDeJeu/AideDeJeu/Views/MainPage.xaml | 4 +- 2 files changed, 73 insertions(+), 73 deletions(-) diff --git a/AideDeJeu/AideDeJeu/ViewModels/FilterViewModel.cs b/AideDeJeu/AideDeJeu/ViewModels/FilterViewModel.cs index c834a03b..a99145e6 100644 --- a/AideDeJeu/AideDeJeu/ViewModels/FilterViewModel.cs +++ b/AideDeJeu/AideDeJeu/ViewModels/FilterViewModel.cs @@ -213,11 +213,11 @@ namespace AideDeJeu.ViewModels new KeyValuePair("Bard", "Bard" ), new KeyValuePair("Cleric", "Cleric" ), new KeyValuePair("Druid", "Druid" ), - new KeyValuePair("Ensorceleur", "Ensorceleur" ), - new KeyValuePair("Wizard", "Wizard" ), + new KeyValuePair("Sorcerer", "Sorcerer" ), new KeyValuePair("Paladin", "Paladin" ), - new KeyValuePair("Rôdeur", "Rôdeur" ), - new KeyValuePair("Sorcier", "Sorcier" ), + new KeyValuePair("Ranger", "Ranger" ), + new KeyValuePair("Warlock", "Warlock" ), + new KeyValuePair("Wizard", "Wizard" ), }; public override List> Niveaux { get; } = new List>() @@ -238,19 +238,19 @@ namespace AideDeJeu.ViewModels { new KeyValuePair("", "All"), new KeyValuePair("abjuration", "Abjuration"), + new KeyValuePair("conjuration", "Conjuration"), new KeyValuePair("divination", "Divination"), - new KeyValuePair("enchantement", "Enchantement"), - new KeyValuePair("évocation", "Evocation"), + new KeyValuePair("enchantment", "Enchantment"), + new KeyValuePair("evocation", "Evocation"), new KeyValuePair("illusion", "Illusion"), - new KeyValuePair("invocation", "Invocation"), - new KeyValuePair("necromancie", "Necromancie"), + new KeyValuePair("necromancy", "Necromancy"), new KeyValuePair("transmutation", "Transmutation"), }; public override List> Rituels { get; } = new List>() { new KeyValuePair("", "All"), - new KeyValuePair("(rituel)", "Rituel"), + new KeyValuePair("(ritual)", "Ritual"), }; public override List> Sources { get; } = new List>() @@ -467,9 +467,9 @@ namespace AideDeJeu.ViewModels { new KeyValuePair("", "Toutes"), new KeyValuePair("(SRD)", "SRD"), - new KeyValuePair("Monster Manual", "MM"), - new KeyValuePair("sup", "VGtM, MToF"), - new KeyValuePair("supno", "AL, AideDD"), + //new KeyValuePair("Monster Manual", "MM"), + //new KeyValuePair("sup", "VGtM, MToF"), + //new KeyValuePair("supno", "AL, AideDD"), }; } @@ -485,81 +485,81 @@ namespace AideDeJeu.ViewModels public override List> Types { get; } = new List>() { - new KeyValuePair("", "Tous" ), - new KeyValuePair("Humanoïde", "Humanoïde"), - new KeyValuePair("Aberration", "Aberration"), - new KeyValuePair("Bête", "Bête"), - new KeyValuePair("Céleste", "Céleste"), - new KeyValuePair("Créature artificielle", "Créature artificielle"), - new KeyValuePair("Créature monstrueuse", "Créature monstrueuse"), - new KeyValuePair("Dragon", "Dragon"), - new KeyValuePair("Élémentaire", "Élémentaire"), - new KeyValuePair("Fée", "Fée"), - new KeyValuePair("Fiélon", "Fiélon"), - new KeyValuePair("Géant", "Géant"), - new KeyValuePair("Mort-vivant", "Mort-vivant"), - new KeyValuePair("Plante", "Plante"), - new KeyValuePair("Vase", "Vase"), + new KeyValuePair("", "All" ), + new KeyValuePair("humanoid", "Humanoid"), + new KeyValuePair("aberration", "Aberration"), + new KeyValuePair("beast", "Beast"), + new KeyValuePair("celestial", "Celestial"), + new KeyValuePair("construct", "Construct"), + new KeyValuePair("dragon", "Dragon"), + new KeyValuePair("elemental", "Elemental"), + new KeyValuePair("fey", "Fey"), + new KeyValuePair("fiend", "Fiend"), + new KeyValuePair("giant", "Giant"), + new KeyValuePair("monstrosity", "Monstrosity"), + new KeyValuePair("ooze", "Ooze"), + new KeyValuePair("plant", "Plant"), + new KeyValuePair("undead", "Undead"), }; public override List> Powers { get; } = new List>() { - new KeyValuePair(" 0 (0 PX)", "0" ), - new KeyValuePair(" 1/8 (25 PX)", "1/8" ), - new KeyValuePair(" 1/4 (50 PX)", "1/4" ), - new KeyValuePair(" 1/2 (100 PX)", "1/2" ), - new KeyValuePair(" 1 (200 PX)", "1" ), - new KeyValuePair(" 2 (450 PX)", "2" ), - new KeyValuePair(" 3 (700 PX)", "3" ), - new KeyValuePair(" 4 (1100 PX)", "4" ), - new KeyValuePair(" 5 (1800 PX)", "5" ), - new KeyValuePair(" 6 (2300 PX)", "6" ), - new KeyValuePair(" 7 (2900 PX)", "7" ), - new KeyValuePair(" 8 (3900 PX)", "8" ), - new KeyValuePair(" 9 (5000 PX)", "9" ), - new KeyValuePair(" 10 (5900 PX)", "10" ), - new KeyValuePair(" 11 (7200 PX)", "11" ), - new KeyValuePair(" 12 (8400 PX)", "12" ), - new KeyValuePair(" 13 (10000 PX)", "13" ), - new KeyValuePair(" 14 (11500 PX)", "14" ), - new KeyValuePair(" 15 (13000 PX)", "15" ), - new KeyValuePair(" 16 (15000 PX)", "16" ), - new KeyValuePair(" 17 (18000 PX)", "17" ), - new KeyValuePair(" 18 (20000 PX)", "18" ), - new KeyValuePair(" 19 (22000 PX)", "19" ), - new KeyValuePair(" 20 (25000 PX)", "20" ), - new KeyValuePair(" 21 (33000 PX)", "21" ), - new KeyValuePair(" 22 (41000 PX)", "22" ), - new KeyValuePair(" 23 (50000 PX)", "23" ), - new KeyValuePair(" 24 (62000 PX)", "24" ), - new KeyValuePair(" 30 (155000 PX)", "30" ), + new KeyValuePair(" 0 (0 XP)", "0" ), + new KeyValuePair(" 1/8 (25 XP)", "1/8" ), + new KeyValuePair(" 1/4 (50 XP)", "1/4" ), + new KeyValuePair(" 1/2 (100 XP)", "1/2" ), + new KeyValuePair(" 1 (200 XP)", "1" ), + new KeyValuePair(" 2 (450 XP)", "2" ), + new KeyValuePair(" 3 (700 XP)", "3" ), + new KeyValuePair(" 4 (1100 XP)", "4" ), + new KeyValuePair(" 5 (1800 XP)", "5" ), + new KeyValuePair(" 6 (2300 XP)", "6" ), + new KeyValuePair(" 7 (2900 XP)", "7" ), + new KeyValuePair(" 8 (3900 XP)", "8" ), + new KeyValuePair(" 9 (5000 XP)", "9" ), + new KeyValuePair(" 10 (5900 XP)", "10" ), + new KeyValuePair(" 11 (7200 XP)", "11" ), + new KeyValuePair(" 12 (8400 XP)", "12" ), + new KeyValuePair(" 13 (10000 XP)", "13" ), + new KeyValuePair(" 14 (11500 XP)", "14" ), + new KeyValuePair(" 15 (13000 XP)", "15" ), + new KeyValuePair(" 16 (15000 XP)", "16" ), + new KeyValuePair(" 17 (18000 XP)", "17" ), + new KeyValuePair(" 18 (20000 XP)", "18" ), + new KeyValuePair(" 19 (22000 XP)", "19" ), + new KeyValuePair(" 20 (25000 XP)", "20" ), + new KeyValuePair(" 21 (33000 XP)", "21" ), + new KeyValuePair(" 22 (41000 XP)", "22" ), + new KeyValuePair(" 23 (50000 XP)", "23" ), + new KeyValuePair(" 24 (62000 XP)", "24" ), + new KeyValuePair(" 30 (155000 XP)", "30" ), }; public override List> Sizes { get; } = new List>() { - new KeyValuePair("", "Toutes"), - new KeyValuePair("TP", "Très petite"), - new KeyValuePair("P", "Petite"), - new KeyValuePair("M", "Moyenne"), - new KeyValuePair("G", "Grande"), - new KeyValuePair("TG", "Très grande"), - new KeyValuePair("Gig", "Gigantesque"), + new KeyValuePair("", "All"), + new KeyValuePair("Tiny", "Tiny"), + new KeyValuePair("Small", "Small"), + new KeyValuePair("Medium", "Medium"), + new KeyValuePair("Large", "Large"), + new KeyValuePair("Huge", "Huge"), + new KeyValuePair("Gargantuan", "Gargantuan"), }; public override List> Legendaries { get; } = new List>() { - new KeyValuePair("", "Toutes"), + new KeyValuePair("", "All"), new KeyValuePair("si", "Si"), new KeyValuePair("no", "Non"), }; public override List> Sources { get; } = new List>() { - new KeyValuePair("", "Toutes"), + new KeyValuePair("", "All"), new KeyValuePair("(SRD)", "SRD"), - new KeyValuePair("Monster Manual", "MM"), - new KeyValuePair("sup", "VGtM, MToF"), - new KeyValuePair("supno", "AL, AideDD"), + //new KeyValuePair("Monster Manual", "MM"), + //new KeyValuePair("sup", "VGtM, MToF"), + //new KeyValuePair("supno", "AL, AideDD"), }; } @@ -647,9 +647,9 @@ namespace AideDeJeu.ViewModels { new KeyValuePair("", "Toutes"), new KeyValuePair("(SRD)", "SRD"), - new KeyValuePair("Monster Manual", "MM"), - new KeyValuePair("sup", "VGtM, MToF"), - new KeyValuePair("supno", "AL, AideDD"), + //new KeyValuePair("Monster Manual", "MM"), + //new KeyValuePair("sup", "VGtM, MToF"), + //new KeyValuePair("supno", "AL, AideDD"), }; } #endregion Monsters diff --git a/AideDeJeu/AideDeJeu/Views/MainPage.xaml b/AideDeJeu/AideDeJeu/Views/MainPage.xaml index 3c8bb430..3711f977 100644 --- a/AideDeJeu/AideDeJeu/Views/MainPage.xaml +++ b/AideDeJeu/AideDeJeu/Views/MainPage.xaml @@ -31,7 +31,7 @@ - + @@ -60,7 +60,7 @@ - +