summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/WeaponTalent.cs
diff options
context:
space:
mode:
authorTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:26:42 +0200
committerTrueKuehli <rctcoaster2000@hotmail.de>2018-09-30 16:26:42 +0200
commitf3de85c77706e33b5072dd4b491ff76fdfebccd6 (patch)
treecc024e9a1b8ea081504fbd183fc48edf0ce3b875 /DSACore/Models/Database/WeaponTalent.cs
parent3a67ec1e4530f6b413228c2dc19dd90977ac381c (diff)
parent560f454c9beb2f691730b126fc6b3e23d68d6681 (diff)
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'DSACore/Models/Database/WeaponTalent.cs')
-rw-r--r--DSACore/Models/Database/WeaponTalent.cs19
1 files changed, 14 insertions, 5 deletions
diff --git a/DSACore/Models/Database/WeaponTalent.cs b/DSACore/Models/Database/WeaponTalent.cs
index 37d7150..4b98d24 100644
--- a/DSACore/Models/Database/WeaponTalent.cs
+++ b/DSACore/Models/Database/WeaponTalent.cs
@@ -1,9 +1,18 @@
-namespace DSACore.Models.Database
+using System;
+
+namespace DSACore.Models.Database
{
- class WeaponTalent
+ public class WeaponTalent
{
- private string Name { get; set; }
- private int At { get; set; }
- private int Pa { get; set; }
+ public WeaponTalent(string name, int at, int pa)
+ {
+ Name = name ?? throw new ArgumentNullException(nameof(name));
+ At = at;
+ Pa = pa;
+ }
+
+ public string Name { get; set; }
+ public int At { get; set; }
+ public int Pa { get; set; }
}
} \ No newline at end of file