MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetMapPath

Method GetMapPath

Source/ResourceMan.cpp:464–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464std::string cResourceMan::GetMapPath(const std::string& pName) const {
465 for (auto& Map : mMaps) {
466 if (Map.first == pName)
467 return Map.second;
468 }
469 return "";
470}
471
472std::string cResourceMan::GetSave(const std::string &pName) const {
473 for (auto& Save : mSaves) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected