diff --git a/src/runner/gamefeatureswrappers.cpp b/src/runner/gamefeatureswrappers.cpp index 179a191..931651a 100644 --- a/src/runner/gamefeatureswrappers.cpp +++ b/src/runner/gamefeatureswrappers.cpp @@ -50,7 +50,7 @@ void DataArchivesWrapper::addArchive(MOBase::IProfile *profile, int index, const return basicWrapperFunctionImplementation(this, "addArchive", boost::python::ptr(profile), index, archiveName); } -void DataArchivesWrapper::removeArchive(MOBase::IProfile * profile, const QString & archiveName) +void DataArchivesWrapper::removeArchive(MOBase::IProfile *profile, const QString &archiveName) { return basicWrapperFunctionImplementation(this, "removeArchive", boost::python::ptr(profile), archiveName); } @@ -68,6 +68,12 @@ void GamePluginsWrapper::readPluginLists(MOBase::IPluginList * pluginList) { return basicWrapperFunctionImplementation(this, "readPluginLists", boost::python::ptr(pluginList)); } + +void GamePluginsWrapper::getLoadOrder(QStringList &loadOrder) +{ + return basicWrapperFunctionImplementation(this, "getLoadOrder", loadOrder); +} + /// end GamePlugins Wrapper ///////////////////////////// /// LocalSavegames Wrapper @@ -253,6 +259,7 @@ void registerGameFeaturesPythonConverters() bpy::class_("GamePlugins") .def("writePluginLists", bpy::pure_virtual(&GamePlugins::writePluginLists)) .def("readPluginLists", bpy::pure_virtual(&GamePlugins::readPluginLists)) + .def("getLoadOrder", bpy::pure_virtual(&GamePlugins::getLoadOrder)) ; bpy::class_("LocalSavegames") diff --git a/src/runner/gamefeatureswrappers.h b/src/runner/gamefeatureswrappers.h index c32cecc..223ba25 100644 --- a/src/runner/gamefeatureswrappers.h +++ b/src/runner/gamefeatureswrappers.h @@ -46,6 +46,7 @@ public: virtual void writePluginLists(const MOBase::IPluginList *pluginList) override; virtual void readPluginLists(MOBase::IPluginList *pluginList) override; + virtual void getLoadOrder(QStringList &loadOrder) override; }; class LocalSavegamesWrapper : public LocalSavegames, public boost::python::wrapper