summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
committermadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
commit248ba1ea9f6826234535c2a777b3834fbe264e0d (patch)
treeaa52fc2b6d3f78dcaea12d08dd4a2583516d8c8f /src/Bindings/PluginLua.h
parentMerge pull request #481 from MikeHunsinger/master (diff)
downloadcuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.gz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.bz2
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.lz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.xz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.zst
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.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 e1e274c72..1b257285e 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -79,6 +79,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 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;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) override;