mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 15:06:06 +00:00
Ajout id
This commit is contained in:
parent
f1789a0913
commit
4459d27703
2 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ namespace AideDeJeuLib
|
|||
{
|
||||
public class Item
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int NameLevel { get; set; }
|
||||
public string AltName { get; set; }
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ namespace AideDeJeu.ViewModels
|
|||
{
|
||||
if (!anchors.ContainsKey(name))
|
||||
{
|
||||
item.Id = name;
|
||||
anchors.Add(name, item);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue