summaryrefslogtreecommitdiff
path: root/DSACore/Models/Database/Talent.cs
blob: 117d0f7900384ece784adc94a9239fce73112344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

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