eqemu-server/zone/lua_corpse.cpp
2013-06-02 13:47:52 -07:00

17 lines
332 B
C++

#ifdef LUA_EQEMU
#include "lua.hpp"
#include <luabind/luabind.hpp>
#include "corpse.h"
#include "lua_corpse.h"
luabind::scope lua_register_corpse() {
return luabind::class_<Lua_Corpse, Lua_Mob>("Corpse")
.def(luabind::constructor<>())
.property("null", &Lua_Corpse::Null)
.property("valid", &Lua_Corpse::Valid);
}
#endif