summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.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/Plugin.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 '')
-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 9a3c2383e..ee0f8a062 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -82,6 +82,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 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;
virtual bool OnSpawnedEntity (cWorld & a_World, cEntity & a_Entity) = 0;