diff options
Diffstat (limited to 'DSACore/Models/Network/Command.cs')
-rw-r--r-- | DSACore/Models/Network/Command.cs | 20 |
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; - } -} |