MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetAssetPack

Method GetAssetPack

src/openrct2/AssetPackManager.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 AssetPack* AssetPackManager::GetAssetPack(size_t index)
43 {
44 if (index >= _assetPacks.size())
45 return nullptr;
46 return _assetPacks[index].get();
47 }
48
49 AssetPack* AssetPackManager::GetAssetPack(std::string_view id)
50 {

Callers 3

onScrollMouseDownMethod · 0.80
onScrollDrawMethod · 0.80

Calls 2

getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected