diff options
author | Mattes D <github@xoft.cz> | 2015-03-05 13:57:19 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-05 13:57:19 +0100 |
commit | 78120db487e775bc294d8222581b6791456cc380 (patch) | |
tree | f142764f84560a9761bf7d70efbdf4f6d28d0421 /src/Bindings/Plugin.h | |
parent | Lua API: Fixed md5 and sha1 hex formatting. (diff) | |
parent | Added OnTeleportEntity hook for plugins. (diff) | |
download | cuberite-78120db487e775bc294d8222581b6791456cc380.tar cuberite-78120db487e775bc294d8222581b6791456cc380.tar.gz cuberite-78120db487e775bc294d8222581b6791456cc380.tar.bz2 cuberite-78120db487e775bc294d8222581b6791456cc380.tar.lz cuberite-78120db487e775bc294d8222581b6791456cc380.tar.xz cuberite-78120db487e775bc294d8222581b6791456cc380.tar.zst cuberite-78120db487e775bc294d8222581b6791456cc380.zip |
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r-- | src/Bindings/Plugin.h | 1 |
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; |