MCPcopy Create free account
hub / github.com/axmolengine/axmol / getValueMapFromFile

Method getValueMapFromFile

core/platform/FileUtils.cpp:343–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341};
342
343ValueMap FileUtils::getValueMapFromFile(std::string_view filename) const
344{
345 const std::string fullPath = fullPathForFilename(filename);
346 DictMaker tMaker;
347 return tMaker.dictionaryWithContentsOfFile(fullPath);
348}
349
350ValueMap FileUtils::getValueMapFromData(const char* filedata, int filesize) const
351{

Callers 15

initWithFileMethod · 0.80
initWithStringMethod · 0.80
addAnimationsWithFileMethod · 0.80
loadMethod · 0.80
reloadMethod · 0.80
createMethod · 0.80
loadConfigFileMethod · 0.80
FileUtilsTests.cppFile · 0.80
getItemStringMethod · 0.80
LabelTTFUnicodeNewMethod · 0.80
addDataFromJsonCacheMethod · 0.80

Calls 1

Tested by 3

getItemStringMethod · 0.64
LabelTTFUnicodeNewMethod · 0.64