summaryrefslogtreecommitdiffstats
path: root/src/Plugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Plugin.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Plugin.hpp b/src/Plugin.hpp
index a849f5c..7af27a4 100644
--- a/src/Plugin.hpp
+++ b/src/Plugin.hpp
@@ -5,10 +5,13 @@
#include "Vector.hpp"
class BlockInfo;
+struct lua_State;
namespace PluginSystem {
void Init();
+ lua_State* GetLuaState();
+
void Execute(const std::string &luaCode, bool except = false);
void CallOnChangeState(std::string newState);