summaryrefslogtreecommitdiff
path: root/DSALib/Models/Database/DSA/Talent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSALib/Models/Database/DSA/Talent.cs')
-rw-r--r--DSALib/Models/Database/DSA/Talent.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/DSALib/Models/Database/DSA/Talent.cs b/DSALib/Models/Database/DSA/Talent.cs
new file mode 100644
index 0000000..59ff4bc
--- /dev/null
+++ b/DSALib/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];
+ }
+} \ No newline at end of file