summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-02 15:56:07 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-02 15:56:07 +0100
commit0b0aa5554fbb0179e108f0473f4bf732340d1b95 (patch)
tree36239f98c1c8417483af6a13fed586c32dda811c /src/Bindings/PluginManager.h
parentChanged Signiture of OnUpdate (diff)
parentFixed #620 (diff)
downloadcuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.gz
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.bz2
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.lz
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.xz
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.tar.zst
cuberite-0b0aa5554fbb0179e108f0473f4bf732340d1b95.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index d8b838d80..c78bceda1 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -79,6 +79,7 @@ public: // tolua_export
HOOK_LOGIN,
HOOK_PLAYER_BREAKING_BLOCK,
HOOK_PLAYER_BROKEN_BLOCK,
+ HOOK_PLAYER_DESTROYED,
HOOK_PLAYER_EATING,
HOOK_PLAYER_FISHED,
HOOK_PLAYER_FISHING,
@@ -174,6 +175,7 @@ public: // tolua_export
bool CallHookPlayerAnimation (cPlayer & a_Player, int a_Animation);
bool CallHookPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
bool CallHookPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
+ bool CallHookPlayerDestroyed (cPlayer & a_Player);
bool CallHookPlayerEating (cPlayer & a_Player);
bool CallHookPlayerFished (cPlayer & a_Player, const cItems a_Reward);
bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward);