MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / load

Method load

src/Abyss/FileSystem/MPQ.cpp:106–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104bool MPQ::has(const std::string_view fileName) { return SFileHasFile(_stormMpq, fixPath(fileName).c_str()); }
105
106InputStream MPQ::load(const std::string_view fileName) { return InputStream(std::make_unique<MPQStream>(_stormMpq, fixPath(fileName))); }
107
108std::vector<std::string> MPQ::fileList() {
109 std::vector<std::string> result;

Callers 1

loadFileMethod · 0.45

Calls 2

InputStreamClass · 0.85
fixPathFunction · 0.85

Tested by

no test coverage detected