summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-11 22:43:52 +0100
committerMattes D <github@xoft.cz>2015-03-11 22:43:52 +0100
commit439eb8d6cb111fdc336c95aec497a8eb9ddf2df1 (patch)
treea8ceefb71e807fa5b0acba588e07737086ea8d1c /src/Bindings/Plugin.h
parentMerge pull request #1804 from mc-server/streamlinetravis (diff)
parentFixed coding conventions for Pull Request #1807 (diff)
downloadcuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.gz
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.bz2
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.lz
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.xz
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.zst
cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/Plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 6ade8ef9f..3f9fa7655 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -111,12 +111,12 @@ public:
Command permissions have already been checked.
Returns true if command handled successfully
*/
- virtual bool HandleCommand(const AStringVector & a_Split, cPlayer & a_Player) = 0;
+ virtual bool HandleCommand(const AStringVector & a_Split, cPlayer & a_Player, const AString & a_FullCommand) = 0;
/** 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) = 0;
+ virtual bool HandleConsoleCommand(const AStringVector & a_Split, cCommandOutputCallback & a_Output, const AString & a_FullCommand) = 0;
/// All bound commands are to be removed, do any language-dependent cleanup here
virtual void ClearCommands(void) {}