| 1595 | } |
| 1596 | |
| 1597 | bool SharedDatabase::GetCommandSubSettings(std::vector<CommandSubsettingsRepository::CommandSubsettings> &command_subsettings) |
| 1598 | { |
| 1599 | command_subsettings.clear(); |
| 1600 | |
| 1601 | const auto& l = CommandSubsettingsRepository::GetAll(*this); |
| 1602 | |
| 1603 | if (l.empty()) { |
| 1604 | return false; |
| 1605 | } |
| 1606 | |
| 1607 | command_subsettings.reserve(l.size()); |
| 1608 | |
| 1609 | for (const auto& e : l) { |
| 1610 | command_subsettings.emplace_back(e); |
| 1611 | } |
| 1612 | |
| 1613 | return true; |
| 1614 | } |
| 1615 | |
| 1616 | void SharedDatabase::LoadDamageShieldTypes(SPDat_Spell_Struct* s) |
| 1617 | { |
no test coverage detected