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

Method hasAnyOfTheseFlags

src/modinfo.cpp:536–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534}
535
536bool ModInfo::hasAnyOfTheseFlags(std::vector<ModInfo::EFlag> flags) const
537{
538 std::vector<EFlag> modFlags = getFlags();
539 for (auto modFlag : modFlags) {
540 for (auto flag : flags) {
541 if (modFlag == flag) {
542 return true;
543 }
544 }
545 }
546 return false;
547}
548
549bool ModInfo::categorySet(int categoryID) const
550{

Callers 2

debugDumpMethod · 0.80
EditExecutablesDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected