summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/DSA/Talent.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-05-16 01:10:10 +0200
committerDennis Kobert <d-kobert@web.de>2019-05-16 01:10:10 +0200
commit91fc989eea5ee16c2f000064b5c040a6fe6f23b9 (patch)
tree2cb29d1bc191cbba9aab216620a4a644b1f6d806 /DSACore/Models/Database/DSA/Talent.cs
parent6d988d13f7fc1652e2d041cfd1c4b40dce6a8adb (diff)
Implement tokens
Diffstat (limited to 'DSACore/Models/Database/DSA/Talent.cs')
-rw-r--r--DSACore/Models/Database/DSA/Talent.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/DSACore/Models/Database/DSA/Talent.cs b/DSACore/Models/Database/DSA/Talent.cs
new file mode 100644
index 0000000..a6de395
--- /dev/null
+++ b/DSACore/Models/Database/DSA/Talent.cs
@@ -0,0 +1,26 @@
+using System;
+
+namespace DSACore.Models.Database.DSA
+{
+ public class Talent
+ {
+ public Talent()
+ {
+ }
+
+ public Talent(string name)
+ {
+ Name = name ?? throw new ArgumentNullException(nameof(name));
+ }
+
+ public Talent(string name, String roll)
+ {
+ Name = name ?? throw new ArgumentNullException(nameof(name));
+ Roll = roll.Split('/');
+ }
+
+ public string Name { get; set; }
+
+ public string[] Roll { get; set; } = new string[3];
+ }
+}