blob: aca65a464fbd47e34091934113d087f5ce0b27cf (
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
27
28
29
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DSACore.Models.Database
{
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];
}
}
|