summaryrefslogtreecommitdiffstats
path: root/src/Plugin.hpp
blob: a849f5cae2897c84d2abc7c4373d4770b359659b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}