diff options
author | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-30 16:26:42 +0200 |
---|---|---|
committer | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-30 16:26:42 +0200 |
commit | f3de85c77706e33b5072dd4b491ff76fdfebccd6 (patch) | |
tree | cc024e9a1b8ea081504fbd183fc48edf0ce3b875 /DSACore/Models/Database/CharSpell.cs | |
parent | 3a67ec1e4530f6b413228c2dc19dd90977ac381c (diff) | |
parent | 560f454c9beb2f691730b126fc6b3e23d68d6681 (diff) |
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'DSACore/Models/Database/CharSpell.cs')
-rw-r--r-- | DSACore/Models/Database/CharSpell.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/DSACore/Models/Database/CharSpell.cs b/DSACore/Models/Database/CharSpell.cs index cdb5447..670488c 100644 --- a/DSACore/Models/Database/CharSpell.cs +++ b/DSACore/Models/Database/CharSpell.cs @@ -7,7 +7,13 @@ namespace DSACore.Models.Database { public class CharSpell { - private string representation { get; set; } - private int value { get; set; } + public CharSpell(string representation, int value) + { + this.representation = representation ?? throw new ArgumentNullException(nameof(representation)); + this.value = value; + } + + public string representation { get; set; } + public int value { get; set; } } } |