diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-05-19 17:58:42 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-05-19 17:58:42 +0200 |
commit | 2ab4051c6fe720dc47e99b0c305a0d779ee02d51 (patch) | |
tree | 9510ddbb174a54474934adf7991a5ba2aa39f818 /DSACore/Commands/List.cs | |
parent | c4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff) |
Moved Gamelogic to DSALib
Diffstat (limited to 'DSACore/Commands/List.cs')
-rw-r--r-- | DSACore/Commands/List.cs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/DSACore/Commands/List.cs b/DSACore/Commands/List.cs deleted file mode 100644 index 7fc682f..0000000 --- a/DSACore/Commands/List.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using DSACore.Audio; -using DSACore.DSA_Game; - -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(); - } - } -}
\ No newline at end of file |