summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-01-25 11:25:22 +0100
committerdaniel0916 <theschokolps@gmail.com>2014-01-25 11:25:22 +0100
commitbac750b24e673358ec55d3bf71c118a749fe5d0c (patch)
treeb939a88d40583897876fe66d6355233fd6ef6b14 /src/Bindings/PluginLua.h
parentAPIDump: Added notes about objects across cWorld's task execution. (diff)
downloadcuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar.gz
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar.bz2
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar.lz
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar.xz
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.tar.zst
cuberite-bac750b24e673358ec55d3bf71c118a749fe5d0c.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index c01f5ca89..f173be179 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -64,6 +64,8 @@ public:
virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) override;
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
+ virtual bool OnPlayerDestroying (cPlayer & a_Player) override;
+ virtual bool OnPlayerDestroyed (cPlayer & a_Player) override;
virtual bool OnPlayerEating (cPlayer & a_Player) override;
virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) override;
virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) override;