MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / GetCommandSubSettings

Method GetCommandSubSettings

common/shareddb.cpp:1597–1614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1595}
1596
1597bool 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
1616void SharedDatabase::LoadDamageShieldTypes(SPDat_Spell_Struct* s)
1617{

Callers 1

command_initFunction · 0.80

Calls 4

reserveMethod · 0.80
clearMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected