summaryrefslogtreecommitdiff
path: root/DSACore/Models/Network/Command.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-06-11 23:38:13 +0200
committerDennis Kobert <d-kobert@web.de>2019-06-11 23:38:13 +0200
commit2fa4a0e50ebfc97059c8b84dbd17e79f9afc8a8d (patch)
treec3b34ccb2737e347a73768536895cbbaab13cc01 /DSACore/Models/Network/Command.cs
parentec991104f56e90d7bb2878da2fe6ed4e585dfc46 (diff)
parentaf74efccf8d21e6151022b71f3cacd3fa83024ee (diff)
Merge branch 'rework-backend'
Diffstat (limited to 'DSACore/Models/Network/Command.cs')
-rw-r--r--DSACore/Models/Network/Command.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/DSACore/Models/Network/Command.cs b/DSACore/Models/Network/Command.cs
deleted file mode 100644
index 456a896..0000000
--- a/DSACore/Models/Network/Command.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-
-namespace DSACore.Models.Network
-{
- 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;
- }
-}