#include #include #include "bindings.h" // kernel includes #include // lua includes #include #include #include using namespace luabind; using namespace eressea; 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) ]; }