summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-07 17:47:05 +0100
committermadmaxoft <github@xoft.cz>2014-01-07 17:47:20 +0100
commite353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9 (patch)
treeed9d93af8a4ade3a7ebb0cf14c0bcd9e59c85c13 /src/Bindings/PluginLua.h
parentMerge pull request #514 from derouinw/master (diff)
downloadcuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar.gz
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar.bz2
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar.lz
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar.xz
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.tar.zst
cuberite-e353f29d4ab5deec7ac8b3aac5f3f5c2b8fa56e9.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index a47ab32e0..c01f5ca89 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -81,6 +81,7 @@ public:
virtual bool OnPlayerUsedItem (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override;
virtual bool OnPlayerUsingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerUsingItem (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override;
+ virtual bool OnPluginMessage (cClientHandle & a_Client, const AString & a_Channel, const AString & a_Message) override;
virtual bool OnPluginsLoaded (void) override;
virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override;