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

Method loadFromString

Source/3rdParty/tmxlite/Map.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool Map::loadFromString(const std::string& data, const std::string& workingDir)
106{
107 bool success = false;
108 SharedContent.getThread()->runInMainSync([&]() {
109 success = loadFromStringUnsafe(data, workingDir);
110 });
111 return success;
112}
113
114bool Map::loadFromStringUnsafe(const std::string& data, const std::string& workingDir)
115{

Callers

nothing calls this directly

Calls 2

runInMainSyncMethod · 0.80
getThreadMethod · 0.45

Tested by

no test coverage detected