#include #include #include "bindings.h" // kernel includes #include #include // lua includes #include #include #include using namespace luabind; using namespace eressea; void bind_unit(lua_State * L) { module(L)[ def("get_unit", &findunit), class_("unit") .def_readonly("name", &unit::name) .def_readonly("region", &unit::region) .def_readonly("id", &unit::no) ]; }