MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / invalidationActive

Method invalidationActive

src/profile.cpp:814–826  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812}
813
814bool Profile::invalidationActive(bool* supported) const
815{
816 auto invalidation = m_GameFeatures.gameFeature<BSAInvalidation>();
817 auto dataArchives = m_GameFeatures.gameFeature<DataArchives>();
818
819 if (supported != nullptr) {
820 *supported = ((invalidation != nullptr) && (dataArchives != nullptr));
821 }
822
823 return setting("", "AutomaticArchiveInvalidation",
824 Settings::instance().profileArchiveInvalidation())
825 .toBool();
826}
827
828void Profile::deactivateInvalidation()
829{

Callers 2

setCurrentProfileMethod · 0.80

Calls 1

Tested by

no test coverage detected