diff options
author | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-29 21:52:45 +0200 |
---|---|---|
committer | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-29 21:52:45 +0200 |
commit | f97f25ea54a0f888d2195d6868346854a2a005e0 (patch) | |
tree | 5ea9327de1d548a341f55ff4f13b89e09fb6b443 /DSACore/Models/Network | |
parent | 330c49947c82d3d66f65f03abcad75d57d3dc121 (diff) | |
parent | 33dc613fffad69c1c608e21eac6fcd3f2954ead8 (diff) |
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'DSACore/Models/Network')
-rw-r--r-- | DSACore/Models/Network/Command.cs | 4 | ||||
-rw-r--r-- | DSACore/Models/Network/Group.cs | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/DSACore/Models/Network/Command.cs b/DSACore/Models/Network/Command.cs index dcfc692..456a896 100644 --- a/DSACore/Models/Network/Command.cs +++ b/DSACore/Models/Network/Command.cs @@ -8,13 +8,13 @@ namespace DSACore.Models.Network public class Command { public ulong GroupId { get; set; } = 0; - public ulong CharId { get; set; } + 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 int Cmdmodifier => CmdTexts.Count != 0 && int.TryParse(CmdTexts.Last(), out int mod) ? mod : 0; public bool IsDm { get; set; } = false; } } diff --git a/DSACore/Models/Network/Group.cs b/DSACore/Models/Network/Group.cs index 40f5aeb..2b59931 100644 --- a/DSACore/Models/Network/Group.cs +++ b/DSACore/Models/Network/Group.cs @@ -8,6 +8,7 @@ namespace DSACore.Models.Network public class Group { public string Name { get; set; } - public List<User> Users { get; set; }= new List<User>(); + public string Password { get; set; } + public List<User> Users { get; set; } = new List<User>(); } } |