diff options
author | Mattes D <github@xoft.cz> | 2015-05-10 22:51:16 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-10 22:51:16 +0200 |
commit | 693ffb689c1b970e97cca1bb7d3982695e277eca (patch) | |
tree | 968b0c8e92948d3c2fbd63fceade8ae5c13b53df /src/Bindings/PluginManager.h | |
parent | Call HOOK_EXECUTE_COMMAND even for unknown console commands. (diff) | |
download | cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar.gz cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar.bz2 cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar.lz cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar.xz cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.tar.zst cuberite-693ffb689c1b970e97cca1bb7d3982695e277eca.zip |
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r-- | src/Bindings/PluginManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index d72bd50a3..6fad98434 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -299,7 +299,9 @@ public: /** Returns true if the console command is in the command map */ bool IsConsoleCommandBound(const AString & a_Command); // tolua_export - /** Executes the command split into a_Split, as if it was given on the console. Returns true if executed. Output is sent to the a_Output callback */ + /** Executes the command split into a_Split, as if it was given on the console. + Returns true if executed. Output is sent to the a_Output callback + Exported in ManualBindings.cpp with a different signature. */ bool ExecuteConsoleCommand(const AStringVector & a_Split, cCommandOutputCallback & a_Output, const AString & a_Command); /** Appends all commands beginning with a_Text (case-insensitive) into a_Results. |