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

Method queueJsons

source/base/StarAssets.cpp:492–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void Assets::queueJsons(StringList const& paths) const {
493 queueAssets(paths.transformed([](String const& path) {
494 auto components = AssetPath::split(path);
495 validatePath(components, true, false);
496
497 return AssetId{AssetType::Json, {components.basePath, {}, {}}};
498 }));
499}
500
501void Assets::queueJsons(CaseInsensitiveStringSet const& paths) const {
502 MutexLocker assetsLocker(m_assetsMutex);

Callers 15

BehaviorDatabaseMethod · 0.80
SpawnTypeDatabaseMethod · 0.80
DamageDatabaseMethod · 0.80
TenantDatabaseMethod · 0.80
PlantDatabaseMethod · 0.80
StagehandDatabaseMethod · 0.80
BiomeDatabaseMethod · 0.80
LiquidsDatabaseMethod · 0.80
AiDatabaseMethod · 0.80
EffectSourceDatabaseMethod · 0.80
NpcDatabaseMethod · 0.80

Calls 2

validatePathFunction · 0.85
transformedMethod · 0.45

Tested by 1

SpeciesDatabaseMethod · 0.64