MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / modNames

Method modNames

source/game/StarMaterialDatabase.cpp:287–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287StringList MaterialDatabase::modNames() const {
288 StringList modNames = m_modIndex.keys();
289 modNames.appendAll(m_metaModIndex.leftValues());
290 return modNames;
291}
292
293bool MaterialDatabase::isModName(String const& name) const {
294 return m_modIndex.contains(name);

Callers 1

placeModMethod · 0.80

Calls 3

appendAllMethod · 0.80
leftValuesMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected