Add simple command interface

This commit is contained in:
Lion Kortlepel committed 2021-11-28 23:45:03 +01:00
1 parent 1e0ab6bbb3
commit 768d0466f4
6 files changed
+109 -17

No files matched your search

+7
View File
@@ -18,7 +18,14 @@ public:
Commandline& Internal() { return mCommandline; }
private:
void ChangeToLuaConsole();
void ChangeToRegularConsole();
Commandline mCommandline;
std::vector<std::string> mCachedLuaHistory;
std::vector<std::string> mCachedRegularHistory;
TLuaEngine* mLuaEngine { nullptr };
bool mIsLuaConsole { false };
bool mFirstTime { true };
const std::string mStateId = "BEAMMP_SERVER_CONSOLE";
};