summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Database/Dsa/Talent.cs
blob: 214aecca76b15a595a11957ec5bd1e678f508c01 (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
using System;

namespace DSALib.Models.Database.Dsa
{
    public class Talent : DSALib.Models.Database.DataObject
    {
        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[] Roll { get; set; } = new string[3];
    }
}