summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/DSA/Talent.cs
blob: 59ff4bcf26fcf2f14b300c74486833f707966b56 (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];
    }
}