mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-13 11:16:04 +00:00
Add simple command interface
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user