summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authorjoshi07 <schumacher@20ma.de>2015-03-05 11:52:42 +0100
committerjoshi07 <schumacher@20ma.de>2015-03-05 11:52:42 +0100
commitf71b1fe799eb944b9488019da134a6cc34675605 (patch)
treef142764f84560a9761bf7d70efbdf4f6d28d0421 /src/Bindings/Plugin.h
parentLua API: Fixed md5 and sha1 hex formatting. (diff)
downloadcuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.gz
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.bz2
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.lz
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.xz
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.tar.zst
cuberite-f71b1fe799eb944b9488019da134a6cc34675605.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 6210dbed4..6ade8ef9f 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -57,6 +57,7 @@ public:
virtual bool OnCraftingNoRecipe (cPlayer & a_Player, cCraftingGrid & a_Grid, cCraftingRecipe & a_Recipe) = 0;
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) = 0;
virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier) = 0;
+ virtual bool OnEntityTeleport (cEntity & a_Entity, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) = 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;