| 102 | MPQ::~MPQ() { SFileCloseArchive(_stormMpq); } |
| 103 | |
| 104 | bool MPQ::has(const std::string_view fileName) { return SFileHasFile(_stormMpq, fixPath(fileName).c_str()); } |
| 105 | |
| 106 | InputStream MPQ::load(const std::string_view fileName) { return InputStream(std::make_unique<MPQStream>(_stormMpq, fixPath(fileName))); } |
| 107 |
no test coverage detected