diff options
Diffstat (limited to '')
-rw-r--r-- | src/Plugin.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Plugin.hpp b/src/Plugin.hpp new file mode 100644 index 0000000..a849f5c --- /dev/null +++ b/src/Plugin.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include <string> + +#include "Vector.hpp" + +class BlockInfo; + +namespace PluginSystem { + void Init(); + + void Execute(const std::string &luaCode, bool except = false); + + void CallOnChangeState(std::string newState); + + void CallOnTick(double deltaTime); + + BlockInfo RequestBlockInfo(Vector blockPos); +}
\ No newline at end of file |