Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
luaregutils.hpp
Go to the documentation of this file.
1
12#ifndef MINESERVER_LUAREGUTILS_H
13#define MINESERVER_LUAREGUTILS_H
14
15#include <plugins/luaheaders.h>
16
23{
24 Config::inst()->loadLuaLib(state);
25}
26
27#endif // MINESERVER_LUAREGUTILS_H
void loadLuaLib(lua_State *state)
Load Config fields in Lua.
Definition config.cpp:390
static Config * inst()
Fetch the instance of the config.
Definition config.h:275
constexpr std::string_view type_name()
Gets the name of the type paramater.
Definition event.h:56
Utility header file for lua things.
void loadUtilsLua(lua_State *state)
Loads utils classes to lua.
Definition luaregutils.hpp:22