diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-06-11 23:38:13 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-06-11 23:38:13 +0200 |
commit | 2fa4a0e50ebfc97059c8b84dbd17e79f9afc8a8d (patch) | |
tree | c3b34ccb2737e347a73768536895cbbaab13cc01 /DSACore/Commands/List.cs | |
parent | ec991104f56e90d7bb2878da2fe6ed4e585dfc46 (diff) | |
parent | af74efccf8d21e6151022b71f3cacd3fa83024ee (diff) |
Merge branch 'rework-backend'
Diffstat (limited to 'DSACore/Commands/List.cs')
-rw-r--r-- | DSACore/Commands/List.cs | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/DSACore/Commands/List.cs b/DSACore/Commands/List.cs deleted file mode 100644 index 1fa0dde..0000000 --- a/DSACore/Commands/List.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using DSACore.DSA_Game; -using DSACore.Audio; - -namespace DSACore.Commands -{ - public class List - { - public static string ListAsync(string prop) - { - var res = new List<string>(); - - //int persist = 0; - - switch (prop.ToLower()) - { - case "man": - case "help": - return Help.Get_Specific_Help("List"); - // break; - case "chars": - res.AddRange(Dsa.Chars.Select(x => x.Name)); - break; - case "commands": - // res.AddRange(Help.Commands.Select(x => x.Name)); - res.Add(Help.Get_Generic_Help()); - break; - case "play": - case "sound": - case "sounds": - res.AddRange( - Enum.GetNames(typeof(Sound))); - break; - - default: - res.Add($"Kommando {prop} nicht gefunden"); - break; - } - - - return res.ToString(); - } - } -} |