diff options
author | madmaxoft <github@xoft.cz> | 2013-08-09 14:58:43 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-09 14:58:43 +0200 |
commit | d4a3c451c43454176af39aad5cede5281615a6ad (patch) | |
tree | a3dc0500db414ed3b03ca5b983353400dcae4bcd /source/PluginManager.h | |
parent | Merge pull request #52 from ravenscroftj/feature/food (diff) | |
download | cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.gz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.bz2 cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.lz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.xz cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.tar.zst cuberite-d4a3c451c43454176af39aad5cede5281615a6ad.zip |
Diffstat (limited to '')
-rw-r--r-- | source/PluginManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h index 6c3fa81fe..9db77124d 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -63,6 +63,8 @@ public: // tolua_export HOOK_CRAFTING_NO_RECIPE, HOOK_DISCONNECT, HOOK_EXECUTE_COMMAND, + HOOK_EXPLODED, + HOOK_EXPLODING, HOOK_HANDSHAKE, HOOK_KILLING, HOOK_LOGIN, @@ -137,6 +139,8 @@ public: // tolua_export bool CallHookCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe); bool CallHookDisconnect (cPlayer * a_Player, const AString & a_Reason); bool CallHookExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split); // If a_Player == NULL, it is a console cmd + bool CallHookExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData); + bool CallHookExploding (cWorld & a_World, double & a_ExplosionSize, bool & a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData); bool CallHookHandshake (cClientHandle * a_ClientHandle, const AString & a_Username); bool CallHookKilling (cEntity & a_Victim, cEntity * a_Killer); bool CallHookLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username); |