Added all lua objects i need for now, a ton of API too

This commit is contained in:
KimLS
2013-06-02 00:15:26 -07:00
parent a1080fdb2d
commit d14608356d
31 changed files with 2376 additions and 370 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifdef LUA_EQEMU
#include "lua.hpp"
#include <luabind/luabind.hpp>
#include <luabind/object.hpp>
#include "masterentity.h"
#include "lua_object.h"
luabind::scope lua_register_object() {
return luabind::class_<Lua_Object, Lua_Entity>("Object")
.def(luabind::constructor<>())
.property("null", &Lua_Object::Null)
.property("valid", &Lua_Object::Valid);
}
#endif