diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index a27fe74..1738816 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -729,6 +729,7 @@ BOOST_PYTHON_MODULE(mobase) .def("refreshModList", bpy::pure_virtual(&IOrganizer::refreshModList)) .def("profile", bpy::pure_virtual(&IOrganizer::profile), bpy::return_value_policy()) .def("managedGame", bpy::pure_virtual(&IOrganizer::managedGame), bpy::return_value_policy()) + .def("modsSortedByProfilePriority", bpy::pure_virtual(&IOrganizer::modsSortedByProfilePriority)) ; bpy::class_("IProfile") diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index 18d4ed5..8873748 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -230,6 +230,7 @@ struct IOrganizerWrapper: MOBase::IOrganizer, boost::python::wrapper &func) override { return this->get_override("onModInstalled")(func); } virtual MOBase::IProfile *profile() const override { return this->get_override("profile")(); } virtual MOBase::IPluginGame const *managedGame() const override { return this->get_override("managedGame")(); } + virtual QStringList modsSortedByProfilePriority() const override { return this->get_override("modsSortedByProfilePriority")(); } }; struct IProfileWrapper: MOBase::IProfile, boost::python::wrapper