diff options
author | Mattes D <github@xoft.cz> | 2014-08-16 22:29:41 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-16 22:29:41 +0200 |
commit | e045a25e10e1aff47c35fae44c6b585df061c612 (patch) | |
tree | b2c69b5faf2f199e30bdf9c2ee3b6cd76a125ef7 /src/Bindings/Plugin.h | |
parent | Merge pull request #1308 from mc-server/logger (diff) | |
parent | Updated HOOK_PLAYER_MOVING documentation. (diff) | |
download | cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.gz cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.bz2 cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.lz cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.xz cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.tar.zst cuberite-e045a25e10e1aff47c35fae44c6b585df061c612.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/Plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index 39d53674b..2cc5cade3 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -73,7 +73,7 @@ public: 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; + virtual bool OnPlayerMoving (cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition) = 0; virtual bool OnPlayerPlacedBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0; virtual bool OnPlayerPlacingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0; virtual bool OnPlayerRightClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) = 0; |