| 82 | |
| 83 | public: |
| 84 | explicit ObjectFileIndex(IObjectRepository& objectRepository, const IPlatformEnvironment& env) |
| 85 | : FileIndex( |
| 86 | "object index", kMagicNumber, kVersion, env.GetFilePath(PathId::cacheObjects), std::string(kPattern), |
| 87 | std::vector<std::string>{ |
| 88 | env.GetDirectoryPath(DirBase::openrct2, DirId::objects), |
| 89 | env.GetDirectoryPath(DirBase::user, DirId::objects), |
| 90 | }) |
| 91 | { |
| 92 | } |
| 93 | |
| 94 | public: |
| 95 | std::optional<ObjectRepositoryItem> Create([[maybe_unused]] int32_t language, const std::string& path) const override |
nothing calls this directly
no test coverage detected