#include #include #include // kernel includes #include // lua includes #include #include #include using namespace luabind; void bind_building(lua_State * L) { module(L)[ def("get_building", &findbuilding), class_("building") .def_readonly("name", &building::name) .def_readonly("id", &building::no) .def_readonly("info", &building::display) .def_readwrite("size", &building::size) ]; }