summaryrefslogtreecommitdiff
path: root/dsa/DSALib/Models/Database/Dsa/Talent.cs
blob: 18f18ffd3c35fe48e0b52903fd242b78612103d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

namespace DSALib.Models.Database.Dsa {
    public class Talent : 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];
    }
}