summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-01 14:08:08 +0100
committerMattes D <github@xoft.cz>2014-02-01 14:08:08 +0100
commit33759197e97000e5be12d4b0daa593c54cdaed7b (patch)
treeb49b2d4e02f973755c7d8007fe1ba082a5666674 /src/Bindings/Plugin.h
parentMerge pull request #613 from UltraCoderRU/master (diff)
parentAdded PlayerDestroyedHook Documentation (diff)
downloadcuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar.gz
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar.bz2
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar.lz
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar.xz
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.tar.zst
cuberite-33759197e97000e5be12d4b0daa593c54cdaed7b.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 f4a117721..949e4693a 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -67,6 +67,7 @@ public:
virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) = 0;
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
+ virtual bool OnPlayerDestroyed (cPlayer & a_Player) = 0;
virtual bool OnPlayerEating (cPlayer & a_Player) = 0;
virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) = 0;
virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) = 0;