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