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

Method load

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

public

Source from the content-addressed store, hash-verified

60
61//public
62bool Map::load(const std::string& path)
63{
64 bool success = false;
65 SharedContent.getThread()->runInMainSync([&]() {
66 success = loadUnsafe(path);
67 });
68 return success;
69}
70
71bool Map::loadUnsafe(const std::string& path)
72{

Callers

nothing calls this directly

Calls 2

runInMainSyncMethod · 0.80
getThreadMethod · 0.45

Tested by

no test coverage detected