summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-31 17:24:53 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-31 17:24:53 +0100
commitc52a46a5e3915fab58ad4c28086b19a1cbcf5755 (patch)
treef1fd5c77ebf7ccb130700a97fe7c9c8c02d411b5 /src/Bindings/Plugin.h
parentMerge branch 'master' into cmake-fixes (diff)
parentMerge branch 'FishingHook' (diff)
downloadcuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar.gz
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar.bz2
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar.lz
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar.xz
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.tar.zst
cuberite-c52a46a5e3915fab58ad4c28086b19a1cbcf5755.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index ee0f8a062..2c893a65d 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -68,6 +68,8 @@ public:
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
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 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;