summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.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/Plugin.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 '')
-rw-r--r--src/Bindings/Plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 2c893a65d..f4a117721 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -84,6 +84,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) = 0;
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) = 0;
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) = 0;
+ virtual bool OnPluginMessage (cClientHandle & a_Client, const AString & a_Channel, const AString & a_Message) = 0;
virtual bool OnPluginsLoaded (void) = 0;
virtual bool OnPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0;
virtual bool OnPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0;