1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00
This commit is contained in:
Yan Maniez 2018-08-26 01:56:44 +02:00
parent f1789a0913
commit 4459d27703
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ namespace AideDeJeuLib
{ {
public class Item public class Item
{ {
public string Id { get; set; }
public string Name { get; set; } public string Name { get; set; }
public int NameLevel { get; set; } public int NameLevel { get; set; }
public string AltName { get; set; } public string AltName { get; set; }

View file

@ -30,6 +30,7 @@ namespace AideDeJeu.ViewModels
{ {
if (!anchors.ContainsKey(name)) if (!anchors.ContainsKey(name))
{ {
item.Id = name;
anchors.Add(name, item); anchors.Add(name, item);
return; return;
} }