summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.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/PluginLua.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/PluginLua.h')
-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;