summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-29 20:22:11 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-29 20:22:11 +0200
commit33dc613fffad69c1c608e21eac6fcd3f2954ead8 (patch)
treea30876c8effdb19472873539afdbb232e8081bb8 /DSACore/Models/Database
parent6caf0178d0132a9e70144094957a8a6dcee666e5 (diff)
added all data classes
Diffstat (limited to 'DSACore/Models/Database')
-rw-r--r--DSACore/Models/Database/Char.cs21
-rw-r--r--DSACore/Models/Database/CharSpell.cs13
-rw-r--r--DSACore/Models/Database/Field.cs13
-rw-r--r--DSACore/Models/Database/GeneralSpell.cs12
-rw-r--r--DSACore/Models/Database/Group.cs2
-rw-r--r--DSACore/Models/Database/GroupChar.cs18
-rw-r--r--DSACore/Models/Database/WeaponTalent.cs9
7 files changed, 81 insertions, 7 deletions
diff --git a/DSACore/Models/Database/Char.cs b/DSACore/Models/Database/Char.cs
index f77c760..04c16f0 100644
--- a/DSACore/Models/Database/Char.cs
+++ b/DSACore/Models/Database/Char.cs
@@ -7,12 +7,21 @@ namespace DSACore.Models.Database
{
public class Char
{
- private string Name { get; set; }
private int Id { get; set; }
- private int Lp { get; set; }
- private int LpMax { get; set; }
- private int As { get; set; }
- private int AsMax { get; set; }
- private Weapon Weapon { get; set; }
+
+ private string Name { get; set; }
+
+ private string Rasse { get; set; }
+
+ private List<Field> Skills { get; set; } = new List<Field>();
+
+ private List<Field> Talents { get; set; } = new List<Field>();
+
+ private List<Field> Advantages { get; set; } = new List<Field>();
+
+ private List<CharSpell> Spells { get; set; } = new List<CharSpell>();
+
+ private List<WeaponTalent> WeaponTalents { get; set; } = new List<WeaponTalent>();
+
}
}
diff --git a/DSACore/Models/Database/CharSpell.cs b/DSACore/Models/Database/CharSpell.cs
new file mode 100644
index 0000000..cdb5447
--- /dev/null
+++ b/DSACore/Models/Database/CharSpell.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DSACore.Models.Database
+{
+ public class CharSpell
+ {
+ private string representation { get; set; }
+ private int value { get; set; }
+ }
+}
diff --git a/DSACore/Models/Database/Field.cs b/DSACore/Models/Database/Field.cs
new file mode 100644
index 0000000..fe1ea1f
--- /dev/null
+++ b/DSACore/Models/Database/Field.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DSACore.Models.Database
+{
+ public class Field
+ {
+ private string Name { get; set; }
+ private int value { get; set; }
+ }
+}
diff --git a/DSACore/Models/Database/GeneralSpell.cs b/DSACore/Models/Database/GeneralSpell.cs
new file mode 100644
index 0000000..4f2a8cb
--- /dev/null
+++ b/DSACore/Models/Database/GeneralSpell.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DSACore.Models.Database
+{
+ public class GeneralSpell : Talent
+ {
+ private string Comlexity = "A";
+ }
+}
diff --git a/DSACore/Models/Database/Group.cs b/DSACore/Models/Database/Group.cs
index 5484b76..fb17909 100644
--- a/DSACore/Models/Database/Group.cs
+++ b/DSACore/Models/Database/Group.cs
@@ -10,6 +10,6 @@ namespace DSACore.Models.Database
private string Name { get; set; }
private string Discord { get; set; }
private int Id { get; set; }
- private List<Char> Chars { get; set; }= new List<Char>();
+ private List<GroupChar> Chars { get; set; }= new List<GroupChar>();
}
}
diff --git a/DSACore/Models/Database/GroupChar.cs b/DSACore/Models/Database/GroupChar.cs
new file mode 100644
index 0000000..66e203b
--- /dev/null
+++ b/DSACore/Models/Database/GroupChar.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DSACore.Models.Database
+{
+ public class GroupChar
+ {
+ private string Name { get; set; }
+ private int Id { get; set; }
+ private int Lp { get; set; }
+ private int LpMax { get; set; }
+ private int As { get; set; }
+ private int AsMax { get; set; }
+ private Weapon Weapon { get; set; }
+ }
+}
diff --git a/DSACore/Models/Database/WeaponTalent.cs b/DSACore/Models/Database/WeaponTalent.cs
new file mode 100644
index 0000000..37d7150
--- /dev/null
+++ b/DSACore/Models/Database/WeaponTalent.cs
@@ -0,0 +1,9 @@
+namespace DSACore.Models.Database
+{
+ class WeaponTalent
+ {
+ private string Name { get; set; }
+ private int At { get; set; }
+ private int Pa { get; set; }
+ }
+} \ No newline at end of file