mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-23 10:33:50 +00:00
Lien multi filtre
This commit is contained in:
parent
cfee3ced87
commit
97b1055812
3 changed files with 10 additions and 5 deletions
|
|
@ -20,6 +20,7 @@ namespace AideDeJeuLib
|
|||
"## [États spéciaux](conditions_hd.md)\n\n" +
|
||||
"## [Sorts](spells_hd.md)\n\n" +
|
||||
"## [Sorts de mago](spells_hd_with_class_magicien.md)\n\n" +
|
||||
"## [Tours de magie de mago](spells_hd_with_class_magicien_minlevel_sortsmineurs_maxlevel_sortsmineurs.md)\n\n" +
|
||||
"## [Armures légères](equipment_hd_with_type_armurelegere.md)\n\n" +
|
||||
"# MJ\n\n" +
|
||||
"## [Créatures](monsters_hd.md)\n\n" +
|
||||
|
|
|
|||
|
|
@ -84,9 +84,12 @@ namespace AideDeJeu.ViewModels
|
|||
if(!string.IsNullOrEmpty(with))
|
||||
{
|
||||
var swith = with.Split('_');
|
||||
var key = swith[0];
|
||||
var val = swith[1];
|
||||
filterViewModel.FilterWith(key, val);
|
||||
for (int i = 0; i < swith.Length / 2; i++)
|
||||
{
|
||||
var key = swith[i * 2 + 0];
|
||||
var val = swith[i * 2 + 1];
|
||||
filterViewModel.FilterWith(key, val);
|
||||
}
|
||||
}
|
||||
if (filterViewModel == null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue