diff options
author | Mattes D <github@xoft.cz> | 2015-05-10 23:11:30 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-10 23:11:30 +0200 |
commit | dd10ffb63ad98cf2f4df2141a8fd64c21d414529 (patch) | |
tree | a8c475c1d0c06dd955694cb05215cfdfdd172aea /src/Bindings/PluginManager.h | |
parent | Exported cPluginManager:ExecuteConsoleCommand() to Lua API. (diff) | |
download | cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar.gz cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar.bz2 cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar.lz cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar.xz cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.tar.zst cuberite-dd10ffb63ad98cf2f4df2141a8fd64c21d414529.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index 6fad98434..d8c886b62 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -200,7 +200,7 @@ public: bool CallHookDisconnect (cClientHandle & a_Client, const AString & a_Reason); bool CallHookEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, double a_DistanceModifier); bool CallHookEntityTeleport (cEntity & a_Entity, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition); - bool CallHookExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand); // If a_Player == nullptr, it is a console cmd + bool CallHookExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand, CommandResult & a_Result); // If a_Player == nullptr, 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); |