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/Plugin.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 'src/Bindings/Plugin.h')
-rw-r--r-- | src/Bindings/Plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index c6461c861..254209bd2 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -72,6 +72,7 @@ public: 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; + virtual bool OnPlayerFoodLevelChange (cPlayer & a_Player, int & a_NewFoodLevel) = 0; virtual bool OnPlayerJoined (cPlayer & a_Player) = 0; virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) = 0; virtual bool OnPlayerMoved (cPlayer & a_Player) = 0; |