MCPcopy Create free account
hub / github.com/crossuo/crossuo / GetAsset

Method GetAsset

xuocore/uodata.cpp:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205const UopFileEntry *CUopMappedFile::GetAsset(uint64_t hash) const
206{
207 auto found = m_MapByHash.find(hash);
208 if (found != m_MapByHash.end())
209 {
210 return found->second;
211 }
212
213 return nullptr;
214}
215
216const UopFileEntry *CUopMappedFile::GetAsset(const char *filename) const
217{

Callers 6

uop_unpack_fileFunction · 0.80
UopGetAnimationAssetFunction · 0.80
LoadStringDictionaryMethod · 0.80
UopReadIndexFileMethod · 0.80
CreateBlockTableMethod · 0.80
LoadSpeechMethod · 0.80

Calls 3

uo_jenkins_hashFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected