summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-05-18 22:29:39 +0200
committerLukas Pioch <lukas@zgow.de>2015-05-18 22:29:39 +0200
commit4d4d1e9c69a15e154bc358f1363b961de80b27d6 (patch)
tree9e95fe63ce0a3d006c71235f107f62bf0f10a86e /src/Bindings/PluginLua.h
parentAPIDump: Removed an unneeded global variable. (diff)
downloadcuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar.gz
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar.bz2
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar.lz
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar.xz
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.tar.zst
cuberite-4d4d1e9c69a15e154bc358f1363b961de80b27d6.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 524c249b0..533dc0331 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -115,6 +115,8 @@ public:
virtual bool OnCraftingNoRecipe (cPlayer & a_Player, cCraftingGrid & a_Grid, cCraftingRecipe & a_Recipe) override;
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) override;
virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier) override;
+ virtual bool OnEntityChangeWorld (cEntity & a_Entity, cWorld & a_World) override;
+ virtual bool OnEntityChangedWorld (cEntity & a_Entity, cWorld & a_World) override;
virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand, cPluginManager::CommandResult & a_Result) override;
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) override;
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) override;