diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index bdc85f0..aef6763 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -702,6 +702,8 @@ BOOST_PYTHON_MODULE(mobase) .def("type", bpy::pure_virtual(&IGameInfo::type)) .def("path", bpy::pure_virtual(&IGameInfo::path)) .def("binaryName", bpy::pure_virtual(&IGameInfo::binaryName)) + .def("version", bpy::pure_virtual(&IGameInfo::version)) + .def("extenderVersion", bpy::pure_virtual(&IGameInfo::extenderVersion)) ; bpy::class_("IOrganizer") diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 7c0edd2..a386d37 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -262,6 +262,8 @@ struct IGameInfoWrapper: MOBase::IGameInfo, boost::python::wrapperget_override("type")(); } virtual QString path() const { return this->get_override("path")(); } virtual QString binaryName() const { return this->get_override("binaryName")(); } + virtual QString version() const { return this->get_override("version")(); } + virtual QString extenderVersion() const { return this->get_override("extenderVersion")(); } }; struct IModInterfaceWrapper: MOBase::IModInterface, boost::python::wrapper