summaryrefslogtreecommitdiffstats
path: root/src/Plugin.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-13 18:20:25 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-13 18:20:25 +0200
commitcc937302964a04aa8e7cdc0e6796503559efaa69 (patch)
tree3a6b890d32ed735d42f042a08c1af9637cb62b70 /src/Plugin.hpp
parentFixed Linux build of RmlUi (diff)
downloadAltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.gz
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.bz2
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.lz
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.xz
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.tar.zst
AltCraft-cc937302964a04aa8e7cdc0e6796503559efaa69.zip
Diffstat (limited to 'src/Plugin.hpp')
-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);