| 97 | } |
| 98 | |
| 99 | bool |
| 100 | BundleResourceContainer::GetStat(BundleResourceContainer::Stat& stat) |
| 101 | { |
| 102 | OpenAndInitializeContainer(); |
| 103 | int fileIndex |
| 104 | = mz_zip_reader_locate_file(const_cast<mz_zip_archive*>(&m_ZipArchive), stat.filePath.c_str(), nullptr, 0); |
| 105 | if (fileIndex >= 0) |
| 106 | { |
| 107 | return GetStat(fileIndex, stat); |
| 108 | } |
| 109 | return false; |
| 110 | } |
| 111 | |
| 112 | bool |
| 113 | BundleResourceContainer::GetStat(int index, BundleResourceContainer::Stat& stat) |