summaryrefslogtreecommitdiffstats
path: root/source/Plugin.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-29 17:30:05 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-29 17:30:05 +0200
commit7b75aaea7c538f61518a60fe4af363383020e0bc (patch)
treea4ee92f7763ca9931e6c1e5b96a2b5275206ab46 /source/Plugin.h
parentAdded a function that allows you to change the /back coordinates. (diff)
downloadcuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar.gz
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar.bz2
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar.lz
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar.xz
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.tar.zst
cuberite-7b75aaea7c538f61518a60fe4af363383020e0bc.zip
Diffstat (limited to '')
-rw-r--r--source/Plugin.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Plugin.h b/source/Plugin.h
index 9107cce6f..91f5f5286 100644
--- a/source/Plugin.h
+++ b/source/Plugin.h
@@ -92,8 +92,10 @@ public:
*/
virtual bool HandleCommand(const AStringVector & a_Split, cPlayer * a_Player);
- /// Handles the console command split into a_Split. Returns true if command handled successfully.
- virtual bool HandleConsoleCommand(const AStringVector & a_Split);
+ /** Handles the console command split into a_Split.
+ Returns true if command handled successfully. Output is to be sent to the a_Output callback.
+ */
+ virtual bool HandleConsoleCommand(const AStringVector & a_Split, cCommandOutputCallback & a_Output);
/// All bound commands are to be removed, do any language-dependent cleanup here
virtual void ClearCommands(void) {} ;