Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
luaheaders.h
Go to the documentation of this file.
1
12#ifndef MINESERVER_LUAHEADERS_H
13#define MINESERVER_LUAHEADERS_H
14
15extern "C"
16{
17#include <lua.h>
18#include <lualib.h>
19#include <lauxlib.h>
20}
21#include <LuaBridge/LuaBridge.h>
22#include <LuaBridge/Vector.h>
23
24#ifndef DOXYGEN_IGNORE_THIS
25namespace logger
26{
27 void plugin(const char *format, ...);
28}
29#endif
30
35namespace lua
36{
45 int luaCustomPrint(lua_State *state);
46
56 void registerDefaultLibs(lua_State *state, const char *name);
57}
58
59#endif // MINESERVER_LUAHEADERS_H
constexpr std::string_view type_name()
Gets the name of the type paramater.
Definition event.h:56
The logging namespace.
Definition logger.h:146
void plugin(const char *format,...)
Logs something at the PLUGIN level, for plugins.
Definition logger.cpp:180
Lua utility namespace.
Definition luaheaders.h:36
void registerDefaultLibs(lua_State *state, const char *name)
Loads default libs.
Definition luaheaders.cpp:36
int luaCustomPrint(lua_State *state)
Custom print.
Definition luaheaders.cpp:15