Skip to content

Commit 0be763f

Browse files
authored
Merge pull request #114 from ModOrganizer2/loot_0_22
Plugin sorting updates
2 parents c6c7e5e + 7452df8 commit 0be763f

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/mobase/wrappers/pyplugins.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ namespace mo2::python {
7676
.def("executableForcedLoads", &IPluginGame::executableForcedLoads)
7777
.def("steamAPPId", &IPluginGame::steamAPPId)
7878
.def("primaryPlugins", &IPluginGame::primaryPlugins)
79+
.def("enabledPlugins", &IPluginGame::enabledPlugins)
7980
.def("gameVariants", &IPluginGame::gameVariants)
8081
.def("setGameVariant", &IPluginGame::setGameVariant, "variant"_a)
8182
.def("binaryName", &IPluginGame::binaryName)

src/mobase/wrappers/pyplugins.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,10 @@ namespace mo2::python {
416416
{
417417
PYBIND11_OVERRIDE_PURE(QStringList, IPluginGame, primaryPlugins, );
418418
}
419+
QStringList enabledPlugins() const override
420+
{
421+
PYBIND11_OVERRIDE_PURE(QStringList, IPluginGame, enabledPlugins, );
422+
}
419423
QStringList gameVariants() const override
420424
{
421425
PYBIND11_OVERRIDE_PURE(QStringList, IPluginGame, gameVariants, );

0 commit comments

Comments
 (0)