From 71f85e0d3539539a74e72eb86ecb13a0e637e88a Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Sat, 29 Sep 2018 19:08:20 +0200 Subject: adding database class structure --- DSACore/Models/Command.cs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 DSACore/Models/Command.cs (limited to 'DSACore/Models/Command.cs') diff --git a/DSACore/Models/Command.cs b/DSACore/Models/Command.cs deleted file mode 100644 index 72c2a4c..0000000 --- a/DSACore/Models/Command.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace DSACore.Models -{ - public class Command - { - public ulong GroupId { get; set; } = 0; - public ulong CharId { get; set; } - public string Name { get; set; } - public string CmdIdentifier { get; set; } - public List CmdTexts { get; set; } - public string CmdText => CmdTexts.Count != 0 ? CmdTexts.First() : ""; - - public int Cmdmodifier => CmdTexts.Count!=0&&int.TryParse(CmdTexts.Last(),out int mod)?mod:0; - public bool IsDm { get; set; } = false; - } -} -- cgit v1.2.3-70-g09d2