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/Plugin.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 'src/Bindings/Plugin.h')
-rw-r--r-- | src/Bindings/Plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index 6b6a00ba6..d0c2bcefa 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -56,7 +56,7 @@ public: 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, const AString & a_EntireCommand) = 0; + virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split, const AString & a_EntireCommand, cPluginManager::CommandResult & a_Result) = 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; |