summaryrefslogblamecommitdiffstats
path: root/src/Plugin.hpp
blob: a849f5cae2897c84d2abc7c4373d4770b359659b (plain) (tree)
1
2
3
4
5
6
7
8



                 



                     


                        
                                                                      

                                                     

                                          

                                                    
 
#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);
}