summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/Inventory.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-29 23:59:42 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-29 23:59:42 +0200
commit632781d1adf54287ecfe7cbcbc17074e14a769b2 (patch)
treeed8d27601fa4ccfa5552af9ef104d1467a05d8e8 /DSACore/Models/Database/Inventory.cs
parent33dc613fffad69c1c608e21eac6fcd3f2954ead8 (diff)
added database methods
Diffstat (limited to 'DSACore/Models/Database/Inventory.cs')
-rw-r--r--DSACore/Models/Database/Inventory.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/DSACore/Models/Database/Inventory.cs b/DSACore/Models/Database/Inventory.cs
index 8e525c6..e6b47ec 100644
--- a/DSACore/Models/Database/Inventory.cs
+++ b/DSACore/Models/Database/Inventory.cs
@@ -7,9 +7,9 @@ namespace DSACore.Models.Database
{
public class Inventory
{
- private int Id { get; set; }
- private List<string> Items { get; set; } = new List<string>();
- private List<string> Food { get; set; } = new List<string>();
- private List<Weapon> Weapons { get; set; } = new List<Weapon>();
+ public int Id { get; set; }
+ public Dictionary<string, bool> Items { get; set; } = new Dictionary<string, bool>();
+ public Dictionary<string, bool> Food { get; set; } = new Dictionary<string, bool>();
+ public List<Weapon> Weapons { get; set; } = new List<Weapon>();
}
}