Console command permissions can be changed in the client permission menu, permitted commands are displayed in the client-side permission popup

This commit is contained in:
Joonas Rikkonen
2017-12-07 18:25:08 +02:00
parent 9bc0931be5
commit 9599137e83
5 changed files with 54 additions and 14 deletions
@@ -111,6 +111,10 @@ namespace Barotrauma
#endif
private static List<Command> commands = new List<Command>();
public static List<Command> Commands
{
get { return commands; }
}
private static string currentAutoCompletedCommand;
private static int currentAutoCompletedIndex;