diff --git a/src/runner/gamefeatureswrappers.cpp b/src/runner/gamefeatureswrappers.cpp index 380458d..179a191 100644 --- a/src/runner/gamefeatureswrappers.cpp +++ b/src/runner/gamefeatureswrappers.cpp @@ -82,6 +82,11 @@ void LocalSavegamesWrapper::prepareProfile(MOBase::IProfile * profile) { return basicWrapperFunctionImplementation(this, "prepareProfile", boost::python::ptr(profile)); } + +bool LocalSavegamesWrapper::updateSaveGames(MOBase::IProfile * profile) +{ + return basicWrapperFunctionImplementation(this, "updateSaveGames", boost::python::ptr(profile)); +} /// end LocalSavegames Wrapper ///////////////////////////// /// SaveGameInfo Wrapper @@ -253,6 +258,7 @@ void registerGameFeaturesPythonConverters() bpy::class_("LocalSavegames") .def("mappings", bpy::pure_virtual(&LocalSavegames::mappings)) .def("prepareProfile", bpy::pure_virtual(&LocalSavegames::prepareProfile)) + .def("updateSaveGames", bpy::pure_virtual(&LocalSavegames::updateSaveGames)); ; bpy::class_("SaveGameInfo") diff --git a/src/runner/gamefeatureswrappers.h b/src/runner/gamefeatureswrappers.h index e62bde0..c32cecc 100644 --- a/src/runner/gamefeatureswrappers.h +++ b/src/runner/gamefeatureswrappers.h @@ -56,6 +56,7 @@ public: virtual MappingType mappings(const QDir &profileSaveDir) const override; virtual void prepareProfile(MOBase::IProfile *profile) override; + virtual bool updateSaveGames(MOBase::IProfile *profile) override; }; class SaveGameInfoWrapper : public SaveGameInfo, public boost::python::wrapper