Add define parameters and support aliases and definitions in action files
This commit is contained in:
1 parent
fb8ef636bd
commit
0a6193f68e
12 files changed
+291
-63
No files matched your search
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
#include "ActionFile.h"
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
@@ -19,8 +18,10 @@ class ConsoleCommandParser
|
||||
public:
|
||||
ConsoleCommand Parse(std::string_view line);
|
||||
|
||||
const CommandBindings &GetBindings() const { return bindings; }
|
||||
|
||||
private:
|
||||
std::map<std::string, std::string, std::less<>> aliases;
|
||||
CommandBindings bindings;
|
||||
};
|
||||
std::string ConsoleHelp();
|
||||
} // namespace Bilicraft
|
||||
Reference in new issue
Block a user