Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
Loading...
Searching...
No Matches
luaregplaypackets.hpp
Go to the documentation of this file.
1
12#ifndef MINESERVER_LUAREGPLAYPACKETS_H
13#define MINESERVER_LUAREGPLAYPACKETS_H
14
15#include <plugins/luaheaders.h>
17
23void loadPlayPacketsLua(lua_State *state)
24{
25 const char *namespaceName = "packets";
26
27 DisconnectLogin::loadLua(state, namespaceName);
28 DisconnectPlay::loadLua(state, namespaceName);
29}
30
31#endif // MINESERVER_LUAREGPLAYPACKETS_H
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads packet as lua class.
Definition disconnect.cpp:26
static void loadLua(lua_State *state, const char *baseNamespaceName)
Loads packet as lua class.
Definition disconnect.cpp:49
Utility header file for lua things.
void loadPlayPacketsLua(lua_State *state)
Loads entities classes to lua.
Definition luaregplaypackets.hpp:23