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

Method queueAudios

source/base/StarAssets.cpp:558–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558void Assets::queueAudios(StringList const& paths) const {
559 queueAssets(paths.transformed([](String const& path) {
560 auto components = AssetPath::split(path);
561 validatePath(components, false, false);
562
563 return AssetId{AssetType::Audio, std::move(components)};
564 }));
565}
566
567void Assets::queueAudios(CaseInsensitiveStringSet const& paths) const {
568 MutexLocker assetsLocker(m_assetsMutex);

Callers

nothing calls this directly

Calls 2

validatePathFunction · 0.85
transformedMethod · 0.45

Tested by

no test coverage detected