diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-05-16 01:10:10 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-05-16 01:10:10 +0200 |
commit | 91fc989eea5ee16c2f000064b5c040a6fe6f23b9 (patch) | |
tree | 2cb29d1bc191cbba9aab216620a4a644b1f6d806 /DSACore/Models/Database | |
parent | 6d988d13f7fc1652e2d041cfd1c4b40dce6a8adb (diff) |
Implement tokens
Diffstat (limited to 'DSACore/Models/Database')
-rw-r--r-- | DSACore/Models/Database/DSA/Advantage.cs (renamed from DSACore/Models/Database/Advantage.cs) | 5 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/CharSpell.cs (renamed from DSACore/Models/Database/CharSpell.cs) | 5 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/DatabaseChar.cs (renamed from DSACore/Models/Database/DatabaseChar.cs) | 4 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/Field.cs (renamed from DSACore/Models/Database/Field.cs) | 5 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/GeneralSpell.cs (renamed from DSACore/Models/Database/GeneralSpell.cs) | 7 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/GroupChar.cs (renamed from DSACore/Models/Database/GroupChar.cs) | 7 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/Inventory.cs (renamed from DSACore/Models/Database/Inventory.cs) | 7 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/Talent.cs (renamed from DSACore/Models/Database/Talent.cs) | 5 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/Weapon.cs (renamed from DSACore/Models/Database/Weapon.cs) | 5 | ||||
-rw-r--r-- | DSACore/Models/Database/DSA/WeaponTalent.cs (renamed from DSACore/Models/Database/WeaponTalent.cs) | 2 | ||||
-rw-r--r-- | DSACore/Models/Database/Groups/DSAGroup.cs | 10 | ||||
-rw-r--r-- | DSACore/Models/Database/Groups/Group.cs (renamed from DSACore/Models/Database/Group.cs) | 8 |
12 files changed, 22 insertions, 48 deletions
diff --git a/DSACore/Models/Database/Advantage.cs b/DSACore/Models/Database/DSA/Advantage.cs index 67965fc..2f0b443 100644 --- a/DSACore/Models/Database/Advantage.cs +++ b/DSACore/Models/Database/DSA/Advantage.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class Advantage { diff --git a/DSACore/Models/Database/CharSpell.cs b/DSACore/Models/Database/DSA/CharSpell.cs index 670488c..63d917a 100644 --- a/DSACore/Models/Database/CharSpell.cs +++ b/DSACore/Models/Database/DSA/CharSpell.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class CharSpell { diff --git a/DSACore/Models/Database/DatabaseChar.cs b/DSACore/Models/Database/DSA/DatabaseChar.cs index 9cd865f..8c51821 100644 --- a/DSACore/Models/Database/DatabaseChar.cs +++ b/DSACore/Models/Database/DSA/DatabaseChar.cs @@ -1,10 +1,8 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; -using DSALib; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class DatabaseChar { diff --git a/DSACore/Models/Database/Field.cs b/DSACore/Models/Database/DSA/Field.cs index b14d9da..5022768 100644 --- a/DSACore/Models/Database/Field.cs +++ b/DSACore/Models/Database/DSA/Field.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class Field { diff --git a/DSACore/Models/Database/GeneralSpell.cs b/DSACore/Models/Database/DSA/GeneralSpell.cs index f53081e..74b95d7 100644 --- a/DSACore/Models/Database/GeneralSpell.cs +++ b/DSACore/Models/Database/DSA/GeneralSpell.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class GeneralSpell : Talent { diff --git a/DSACore/Models/Database/GroupChar.cs b/DSACore/Models/Database/DSA/GroupChar.cs index 1dfc4ea..70b8fc1 100644 --- a/DSACore/Models/Database/GroupChar.cs +++ b/DSACore/Models/Database/DSA/GroupChar.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class GroupChar { diff --git a/DSACore/Models/Database/Inventory.cs b/DSACore/Models/Database/DSA/Inventory.cs index e6b47ec..69c7b08 100644 --- a/DSACore/Models/Database/Inventory.cs +++ b/DSACore/Models/Database/DSA/Inventory.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; +using System.Collections.Generic; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class Inventory { diff --git a/DSACore/Models/Database/Talent.cs b/DSACore/Models/Database/DSA/Talent.cs index aca65a4..a6de395 100644 --- a/DSACore/Models/Database/Talent.cs +++ b/DSACore/Models/Database/DSA/Talent.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class Talent { diff --git a/DSACore/Models/Database/Weapon.cs b/DSACore/Models/Database/DSA/Weapon.cs index b2f8a1e..24b334a 100644 --- a/DSACore/Models/Database/Weapon.cs +++ b/DSACore/Models/Database/DSA/Weapon.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class Weapon { diff --git a/DSACore/Models/Database/WeaponTalent.cs b/DSACore/Models/Database/DSA/WeaponTalent.cs index 4b98d24..869cb35 100644 --- a/DSACore/Models/Database/WeaponTalent.cs +++ b/DSACore/Models/Database/DSA/WeaponTalent.cs @@ -1,6 +1,6 @@ using System; -namespace DSACore.Models.Database +namespace DSACore.Models.Database.DSA { public class WeaponTalent { diff --git a/DSACore/Models/Database/Groups/DSAGroup.cs b/DSACore/Models/Database/Groups/DSAGroup.cs new file mode 100644 index 0000000..8f20278 --- /dev/null +++ b/DSACore/Models/Database/Groups/DSAGroup.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; +using DSACore.Models.Database.DSA; + +namespace DSACore.Models.Database.Groups +{ + public class DSAGroup : Group + { + public List<GroupChar> Chars { get; set; }= new List<GroupChar>(); + } +}
\ No newline at end of file diff --git a/DSACore/Models/Database/Group.cs b/DSACore/Models/Database/Groups/Group.cs index a7bb929..23e5f68 100644 --- a/DSACore/Models/Database/Group.cs +++ b/DSACore/Models/Database/Groups/Group.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace DSACore.Models.Database +namespace DSACore.Models.Database.Groups { public class Group { @@ -11,7 +6,6 @@ namespace DSACore.Models.Database public string Discord { get; set; } public string Password { get; set; } public int Id { get; set; } - public List<GroupChar> Chars { get; set; }= new List<GroupChar>(); } |