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/Plugin.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 'source/Plugin.h')
-rw-r--r-- | source/Plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Plugin.h b/source/Plugin.h index 7727337fe..ce443835b 100644 --- a/source/Plugin.h +++ b/source/Plugin.h @@ -58,6 +58,8 @@ public: virtual bool OnCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0; virtual bool OnDisconnect (cPlayer * a_Player, const AString & a_Reason) = 0; virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split) = 0; + virtual bool OnExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) = 0; + virtual bool OnExploding (cWorld & a_World, double & a_ExplosionSize, bool & a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) = 0; virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) = 0; virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer) = 0; virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) = 0; |