summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-05-10 23:11:30 +0200
committerMattes D <github@xoft.cz>2015-05-10 23:11:30 +0200
commitdd10ffb63ad98cf2f4df2141a8fd64c21d414529 (patch)
treea8c475c1d0c06dd955694cb05215cfdfdd172aea /src/Bindings/LuaState.h
parentExported cPluginManager:ExecuteConsoleCommand() to Lua API. (diff)
downloadcuberite-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/LuaState.h')
-rw-r--r--src/Bindings/LuaState.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h
index 4377ed5d0..959a62bb8 100644
--- a/src/Bindings/LuaState.h
+++ b/src/Bindings/LuaState.h
@@ -32,6 +32,7 @@ extern "C"
#include "../Vector3.h"
#include "../Defines.h"
+#include "PluginManager.h"
@@ -57,7 +58,6 @@ class cPickup;
class cPlayer;
class cPlugin;
class cPluginLua;
-class cPluginManager;
class cProjectileEntity;
class cRoot;
class cScoreboard;
@@ -249,6 +249,7 @@ public:
void GetStackValue(int a_StackPos, AString & a_Value);
void GetStackValue(int a_StackPos, BLOCKTYPE & a_Value);
void GetStackValue(int a_StackPos, bool & a_Value);
+ void GetStackValue(int a_StackPos, cPluginManager::CommandResult & a_Result);
void GetStackValue(int a_StackPos, cRef & a_Ref);
void GetStackValue(int a_StackPos, double & a_Value);
void GetStackValue(int a_StackPos, float & a_ReturnedVal);