summaryrefslogtreecommitdiffstats
path: root/source/cPluginManager.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 19:30:37 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 19:30:37 +0200
commit0f39e9b10b80efadc82e0329c977c9fe00112489 (patch)
treef8d262c4f4bf3a31ad3eea57cdd4cf8b79d1f658 /source/cPluginManager.h
parentRemoved recipes.txt from nightbuild packing list (diff)
downloadcuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.gz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.bz2
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.lz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.xz
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.tar.zst
cuberite-0f39e9b10b80efadc82e0329c977c9fe00112489.zip
Diffstat (limited to 'source/cPluginManager.h')
-rw-r--r--source/cPluginManager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/cPluginManager.h b/source/cPluginManager.h
index e9010ebd9..9f9e41e8b 100644
--- a/source/cPluginManager.h
+++ b/source/cPluginManager.h
@@ -8,6 +8,12 @@ class cLuaCommandBinder;
class cPlugin;
class cPlugin_Lua;
+// fwd: cWorld.h
+class cWorld;
+
+// fwd: cLuaChunk.h
+class cLuaChunk;
+
// fwd: cPlayer.h
class cPlayer;
@@ -87,6 +93,7 @@ public: //tolua_export
bool CallHook( PluginHook a_Hook, unsigned int a_NumArgs, ... );
+ bool CallHookChunkGenerating (cWorld * a_World, int a_ChunkX, int a_ChunkZ, cLuaChunk * a_Chunk);
bool CallHookPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);