summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.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/PluginLua.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 '')
-rw-r--r--src/Bindings/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 598e031c0..9c9de95c6 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -95,6 +95,7 @@ public:
virtual bool OnPlayerEating (cPlayer & a_Player) override;
virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) override;
virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) override;
+ virtual bool OnPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel) override;
virtual bool OnPlayerJoined (cPlayer & a_Player) override;
virtual bool OnPlayerMoved (cPlayer & a_Player) override;
virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) override;