summaryrefslogtreecommitdiffstats
path: root/src/Plugin.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-02-17 17:24:52 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-04-21 12:55:48 +0200
commita2fd708de4ede7427589125e680f3fb339926f4e (patch)
tree75faed7c12a7898e435cf9f40e1ca3af85ca06ec /src/Plugin.hpp
parentMinor lua-api improvement (diff)
downloadAltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar.gz
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar.bz2
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar.lz
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar.xz
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.tar.zst
AltCraft-a2fd708de4ede7427589125e680f3fb339926f4e.zip
Diffstat (limited to 'src/Plugin.hpp')
-rw-r--r--src/Plugin.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Plugin.hpp b/src/Plugin.hpp
new file mode 100644
index 0000000..a5f75e1
--- /dev/null
+++ b/src/Plugin.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <string>
+
+namespace PluginSystem {
+ void Init();
+
+ void Execute(const std::string &luaCode);
+
+ void CallOnChangeState(std::string newState);
+} \ No newline at end of file