| 534 | } |
| 535 | |
| 536 | bool 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 | |
| 549 | bool ModInfo::categorySet(int categoryID) const |
| 550 | { |
no outgoing calls
no test coverage detected