MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / loadAsync

Method loadAsync

Source/Cache/SkeletonCache.cpp:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void SkeletonCache::loadAsync(String spineStr, const std::function<void(SkeletonData*)>& handler) {
113 std::string skelFile, atlasFile;
114 std::tie(skelFile, atlasFile) = getFileFromStr(spineStr);
115 loadAsync(skelFile, atlasFile, handler);
116}
117
118void SkeletonCache::loadAsync(String skelFile, String atlasFile, const std::function<void(SkeletonData*)>& handler) {
119 std::string skelPath = SharedContent.getFullPath(skelFile);

Callers

nothing calls this directly

Calls 14

handlerFunction · 0.85
moveFunction · 0.85
stringFunction · 0.85
getFullPathMethod · 0.80
loadAsyncDataMethod · 0.80
toStringMethod · 0.65
runMethod · 0.65
getMethod · 0.65
ErrorEnum · 0.50
hashFunction · 0.50
allocFunction · 0.50
createFunction · 0.50

Tested by

no test coverage detected