mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Starfield Creation Update: Convert overlay/override flags to medium flags (#127)
* Convert overlay/override flags to medium flags
This commit is contained in:
@@ -318,9 +318,9 @@ namespace mo2::python {
|
||||
|
||||
.def("isMasterFlagged", &IPluginList::isMasterFlagged, "name"_a)
|
||||
.def("hasMasterExtension", &IPluginList::hasMasterExtension, "name"_a)
|
||||
.def("isMediumFlagged", &IPluginList::isMediumFlagged, "name"_a)
|
||||
.def("isLightFlagged", &IPluginList::isLightFlagged, "name"_a)
|
||||
.def("hasLightExtension", &IPluginList::hasLightExtension, "name"_a)
|
||||
.def("isOverlayFlagged", &IPluginList::isOverlayFlagged, "name"_a)
|
||||
.def("hasNoRecords", &IPluginList::hasNoRecords, "name"_a)
|
||||
|
||||
// Kept but deprecated for backward compatibility:
|
||||
|
||||
@@ -91,9 +91,9 @@ namespace mo2::python {
|
||||
{
|
||||
PYBIND11_OVERRIDE_PURE(bool, GamePlugins, lightPluginsAreSupported, );
|
||||
}
|
||||
bool overridePluginsAreSupported() override
|
||||
bool mediumPluginsAreSupported() override
|
||||
{
|
||||
PYBIND11_OVERRIDE_PURE(bool, GamePlugins, overridePluginsAreSupported, );
|
||||
PYBIND11_OVERRIDE_PURE(bool, GamePlugins, mediumPluginsAreSupported, );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -259,8 +259,7 @@ namespace mo2::python {
|
||||
.def("readPluginLists", &GamePlugins::readPluginLists, "plugin_list"_a)
|
||||
.def("getLoadOrder", &GamePlugins::getLoadOrder)
|
||||
.def("lightPluginsAreSupported", &GamePlugins::lightPluginsAreSupported)
|
||||
.def("overridePluginsAreSupported",
|
||||
&GamePlugins::overridePluginsAreSupported);
|
||||
.def("mediumPluginsAreSupported", &GamePlugins::mediumPluginsAreSupported);
|
||||
|
||||
// LocalSavegames
|
||||
|
||||
|
||||
Reference in New Issue
Block a user