summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/DSA/Talent.cs
blob: a6de3954ce595456945ec63b29ec086f776833ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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];
    }
}