diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-05 20:57:22 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-05 20:57:22 +0100 |
commit | dedb414a50328bf00462409d14d8917ff24844be (patch) | |
tree | 8024df89792a668ad675730b124429c4f03dc1dd /source/PluginManager.h | |
parent | BiomeVisualiser: initial import (diff) | |
download | cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.gz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.bz2 cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.lz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.xz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.zst cuberite-dedb414a50328bf00462409d14d8917ff24844be.zip |
Diffstat (limited to 'source/PluginManager.h')
-rw-r--r-- | source/PluginManager.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h index 7a52b0fc6..743d6f26a 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -41,8 +41,11 @@ public: // tolua_export { HOOK_BLOCK_TO_PICKUPS, HOOK_CHAT, + HOOK_CHUNK_AVAILABLE, HOOK_CHUNK_GENERATED, HOOK_CHUNK_GENERATING, + HOOK_CHUNK_UNLOADED, + HOOK_CHUNK_UNLOADING, HOOK_COLLECTING_PICKUP, HOOK_CRAFTING_NO_RECIPE, HOOK_DISCONNECT, @@ -101,8 +104,11 @@ public: // tolua_export 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); + 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); + bool CallHookChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cChunkDesc * a_ChunkDesc); + bool CallHookChunkUnloaded (cWorld * a_World, int a_ChunkX, int a_ChunkZ); + bool CallHookChunkUnloading (cWorld * a_World, int a_ChunkX, int a_ChunkZ); bool CallHookCollectingPickup (cPlayer * a_Player, cPickup & a_Pickup); bool CallHookCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe); bool CallHookDisconnect (cPlayer * a_Player, const AString & a_Reason); |