Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
Event interface. More...
#include <event.h>
Static Public Member Functions | |
static void | loadLua (lua_State *state) |
Loads the event to the lua state. | |
Event interface.
All events should implement this event interface. Code will not compile otherwise.
T | the event class, used for automatic lua class loading |
Loads the event to the lua state.
Template parameter is used here for classes that don't have any properties or else so that you don't need to have too much boilerplate code.
state | the lua state to load to |