summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-02 19:48:05 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-02 19:48:05 +0200
commitf5659a08b8413bf756cd15308e66e7927cae8c9f (patch)
tree455172b964b2eb5eebb82b6366ce7ac2fb54fc48 /src/Bindings/PluginManager.h
parentFixed player teleport food drain (diff)
parentMerge pull request #1139 from Howaner/Hooks (diff)
downloadcuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.gz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.bz2
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.lz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.xz
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.tar.zst
cuberite-f5659a08b8413bf756cd15308e66e7927cae8c9f.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 be40bd2f7..72cedfae1 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -87,6 +87,7 @@ public: // tolua_export
HOOK_PLAYER_EATING,
HOOK_PLAYER_FISHED,
HOOK_PLAYER_FISHING,
+ HOOK_PLAYER_FOOD_LEVEL_CHANGE,
HOOK_PLAYER_JOINED,
HOOK_PLAYER_LEFT_CLICK,
HOOK_PLAYER_MOVING,
@@ -188,6 +189,7 @@ public: // tolua_export
bool CallHookPlayerEating (cPlayer & a_Player);
bool CallHookPlayerFished (cPlayer & a_Player, const cItems a_Reward);
bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward);
+ bool CallHookPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel);
bool CallHookPlayerJoined (cPlayer & a_Player);
bool CallHookPlayerMoving (cPlayer & a_Player);
bool CallHookPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status);