diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-03 22:06:43 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-03 22:06:43 +0100 |
commit | 1bc145ff44bee52d3b71812cc06ffe214f4ac216 (patch) | |
tree | 7ea9f3b0029bbf5041c2f05c7d3f3e156c3e6186 /src/Bindings/PluginManager.h | |
parent | Merge pull request #2595 from cengizIO/master (diff) | |
parent | Implemented brewing (diff) | |
download | cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar.gz cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar.bz2 cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar.lz cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar.xz cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.tar.zst cuberite-1bc145ff44bee52d3b71812cc06ffe214f4ac216.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index d7e3b8dfe..58ec74f53 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -10,6 +10,7 @@ // fwd: class cBlockEntityWithItems; +class cBrewingstandEntity; class cChunkDesc; class cClientHandle; class cCommandOutputCallback; @@ -75,6 +76,8 @@ public: { HOOK_BLOCK_SPREAD, HOOK_BLOCK_TO_PICKUPS, + HOOK_BREWING_COMPLETING, + HOOK_BREWING_COMPLETED, HOOK_CHAT, HOOK_CHUNK_AVAILABLE, HOOK_CHUNK_GENERATED, @@ -193,6 +196,8 @@ public: // Calls for individual hooks. Each returns false if the action is to continue or true if the plugin wants to abort bool CallHookBlockSpread (cWorld & a_World, int a_BlockX, int a_BlockY, int a_BlockZ, eSpreadSource a_Source); bool CallHookBlockToPickups (cWorld & a_World, cEntity * a_Digger, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, cItems & a_Pickups); + bool CallHookBrewingCompleting (cWorld & a_World, cBrewingstandEntity & a_Brewingstand); + bool CallHookBrewingCompleted (cWorld & a_World, cBrewingstandEntity & a_Brewingstand); bool CallHookChat (cPlayer & a_Player, AString & a_Message); bool CallHookChunkAvailable (cWorld & a_World, int a_ChunkX, int a_ChunkZ); bool CallHookChunkGenerated (cWorld & a_World, int a_ChunkX, int a_ChunkZ, cChunkDesc * a_ChunkDesc); |