diff options
author | Lane Kolbly <lane@rscheme.org> | 2017-08-17 16:27:43 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-08-17 16:27:43 +0200 |
commit | 1ec85a2b2cb285bcc019258c8fddcddfcda84fa8 (patch) | |
tree | b6511b8d1ecae466815dc7376322f1bd617dbc6d /src/Bindings/PluginManager.h | |
parent | Add support for 1.12.1 (#3908) (diff) | |
download | cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar.gz cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar.bz2 cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar.lz cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar.xz cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.tar.zst cuberite-1ec85a2b2cb285bcc019258c8fddcddfcda84fa8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index f38ac8fa1..f3fc3551a 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -24,6 +24,7 @@ class cPickup; class cPlayer; class cPlugin; class cProjectileEntity; +class cWindow; class cWorld; class cSettingsRepositoryInterface; class cDeadlockDetect; @@ -111,6 +112,7 @@ public: HOOK_PLAYER_JOINED, HOOK_PLAYER_LEFT_CLICK, HOOK_PLAYER_MOVING, + HOOK_PLAYER_OPENING_WINDOW, HOOK_PLAYER_PLACED_BLOCK, HOOK_PLAYER_PLACING_BLOCK, HOOK_PLAYER_RIGHT_CLICK, @@ -257,6 +259,7 @@ public: bool CallHookPlayerJoined (cPlayer & a_Player); bool CallHookPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status); bool CallHookPlayerMoving (cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition); + bool CallHookPlayerOpeningWindow (cPlayer & a_Player, cWindow & a_Window); bool CallHookPlayerPlacedBlock (cPlayer & a_Player, const sSetBlock & a_BlockChange); bool CallHookPlayerPlacingBlock (cPlayer & a_Player, const sSetBlock & a_BlockChange); bool CallHookPlayerRightClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ); |