diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-27 03:00:33 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-27 03:00:33 +0100 |
commit | 1a127f5510f654d47ee75b3121e52c50d3e7533b (patch) | |
tree | a968d54114b660c637bb6a9ce4102cb8257e0903 /source/PluginManager.h | |
parent | Removed cMCLogger from Lua API (diff) | |
download | cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.gz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.bz2 cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.lz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.xz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.zst cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/PluginManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h index 4de79f539..cbcfb96a2 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -46,6 +46,7 @@ public: // tolua_export // tolua_begin enum PluginHook { + HOOK_BLOCK_TO_PICKUPS, HOOK_CHAT, HOOK_CHUNK_GENERATED, HOOK_CHUNK_GENERATING, @@ -97,7 +98,7 @@ public: // tolua_export unsigned int GetNumPlugins() const; // tolua_export - // TODO: bool CallHookBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups); + 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 CallHookChat (cPlayer * a_Player, const AString & a_Message); bool CallHookChunkGenerated (cWorld * a_World, int a_ChunkX, int a_ChunkZ); bool CallHookChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cChunkDesc * a_Chunk); |