summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-16 14:38:41 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-27 23:20:28 +0100
commitc4a8336e847d2f4731dd9d899d6af200631f8aef (patch)
treeb4032137f8033224894a190d0c799eb819989f22 /src/Bindings/Plugin.h
parentAdd new leaves to all classes. (diff)
downloadcuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar.gz
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar.bz2
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar.lz
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar.xz
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.tar.zst
cuberite-c4a8336e847d2f4731dd9d899d6af200631f8aef.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-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 949e4693a..4c6d5a938 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -46,6 +46,7 @@ public:
* On all these functions, return true if you want to override default behavior and not call other plugins on that callback.
* You can also return false, so default behavior is used.
**/
+ virtual bool OnBlockSpread (cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ) = 0;
virtual bool OnBlockToPickups (cWorld * a_World, cEntity * a_Digger, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, cItems & a_Pickups) = 0;
virtual bool OnChat (cPlayer * a_Player, AString & a_Message) = 0;
virtual bool OnChunkAvailable (cWorld * a_World, int a_ChunkX, int a_ChunkZ) = 0;