#ifdef LUA_EQEMU #include "lua.hpp" #include #include #include "masterentity.h" #include "lua_client.h" #include "../common/item.h" struct InventoryWhere { }; luabind::scope lua_register_client() { return luabind::class_("Client") .def(luabind::constructor<>()); } luabind::scope lua_register_inventory_where() { return luabind::class_("InventoryWhere") .enum_("constants") [ luabind::value("Personal", static_cast(invWherePersonal)), luabind::value("Bank", static_cast(invWhereBank)), luabind::value("SharedBank", static_cast(invWhereSharedBank)), luabind::value("Trading", static_cast(invWhereTrading)), luabind::value("Cursor", static_cast(invWhereCursor)) ]; } #endif