40CASCFile::CASCFile(std::shared_ptr<CASC::Storage const> casc,
uint32 fileDataId, std::string
const& description,
bool warnNoExist ) :
46 std::unique_ptr<CASC::File> file(casc->OpenFile(fileDataId, CASC_LOCALE_ALL_WOW,
false));
49 if (warnNoExist || GetCascError() != ERROR_FILE_NOT_FOUND)
55 init(file.get(), description.c_str());