Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
luaregcmd.hpp
Go to the documentation of this file.
1
12#ifndef MINESERVER_LUAREGCMD_H
13#define MINESERVER_LUAREGCMD_H
14
15#include <plugins/luaheaders.h>
16#include <cmd/commands.h>
17
23void loadCmdLua(lua_State *state)
24{
25 const char *namespaceName = "cmd";
26
27 ISender::loadLua(state, namespaceName);
28 CommandsManager::loadLua(state, namespaceName);
29}
30
31#endif // MINESERVER_LUAREGCMD_H
static void loadLua(lua_State *state, const char *namespaceName)
Register Lua things.
Definition commands.cpp:97
static void loadLua(lua_State *state, const char *namespaceName)
Register Lua things.
Definition commands.cpp:115
The file handling commands logic.
Utility header file for lua things.
void loadCmdLua(lua_State *state)
Registers commands logic to lua.
Definition luaregcmd.hpp:23