diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-29 19:08:20 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-29 19:08:20 +0200 |
commit | 71f85e0d3539539a74e72eb86ecb13a0e637e88a (patch) | |
tree | d5f051a20a5849f0b43a711912330c6374b2ca68 /DSACore/Models/Command.cs | |
parent | 0283e1ae9f66ac2ef53c081e369190af52077406 (diff) |
adding database class structure
Diffstat (limited to 'DSACore/Models/Command.cs')
-rw-r--r-- | DSACore/Models/Command.cs | 20 |
1 files changed, 0 insertions, 20 deletions
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<string> 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; - } -} |