summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-02 16:33:24 +0200
committerMattes D <github@xoft.cz>2014-07-02 16:33:24 +0200
commit9204c8a124c015be6919be8428517e0e3f0429e7 (patch)
tree4038c19d1cb7f74baf427923869c5c450ed1583c /src/Bindings/Plugin.h
parentCMake: Use cmake for file-copying. (diff)
parentUpdate documentation (diff)
downloadcuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar.gz
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar.bz2
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar.lz
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar.xz
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.tar.zst
cuberite-9204c8a124c015be6919be8428517e0e3f0429e7.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index c6461c861..8ba20c026 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;