diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-30 15:12:56 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-30 15:12:56 +0200 |
commit | aa753a92c092a4d35b2ff7d08259c3196abecf67 (patch) | |
tree | bfc61dbfbc957110217460cb89d7be612ee1f944 /src/Bindings/PluginManager.h | |
parent | Unnecessary return (diff) | |
download | cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.gz cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.bz2 cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.lz cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.xz cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.tar.zst cuberite-aa753a92c092a4d35b2ff7d08259c3196abecf67.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index be40bd2f7..560a5c1d3 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); |