diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-01-25 11:25:22 +0100 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-01-25 11:25:22 +0100 |
commit | bac750b24e673358ec55d3bf71c118a749fe5d0c (patch) | |
tree | b939a88d40583897876fe66d6355233fd6ef6b14 /src/Bindings/Plugin.h | |
parent | APIDump: Added notes about objects across cWorld's task execution. (diff) | |
download | cuberite-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/Plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index f4a117721..f50d1f561 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -67,6 +67,8 @@ 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 OnPlayerDestroying (cPlayer & a_Player) = 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; |