blob: 7af27a43f1ee37405822420b91671bbdd080e965 (
plain) (
tree)
|
|
#pragma once
#include <string>
#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);
void CallOnTick(double deltaTime);
BlockInfo RequestBlockInfo(Vector blockPos);
}
|