Add GetPlayerIDByName, kick, say

This commit is contained in:
Lion Kortlepel committed 2021-11-29 01:14:37 +01:00
1 parent fc440bea2a
commit 19d67dee95
4 files changed
+122 -59

No files matched your search

+8 -2
View File
@@ -16,11 +16,17 @@ public:
void InitializeLuaConsole(TLuaEngine& Engine);
void BackupOldLog();
Commandline& Internal() { return mCommandline; }
private:
void RunAsCommand(const std::string& cmd, bool IgnoreNotACommand = false);
void ChangeToLuaConsole(const std::string& LuaStateId);
void ChangeToRegularConsole();
void Command_Lua(const std::string& cmd);
void Command_Help(const std::string& cmd);
void Command_Kick(const std::string& cmd);
void Command_Say(const std::string& cmd);
Commandline mCommandline;
std::vector<std::string> mCachedLuaHistory;
std::vector<std::string> mCachedRegularHistory;