11 virtual void AddResource(
const char*,
void*,
void*,
void*) = 0;
24 if (std::ranges::find(_resources, path) != _resources.end())
29 _resources.emplace_back(path);
34 for (
const auto& path : _resources)
39 if (!_resources.empty())
41 Log::Info(
"Precache: added {} resource(s) to the session manifest.", _resources.size());
virtual void AddResource(const char *)=0
virtual void AddResource(const char *, void *)=0
virtual void AddResource(const char *, void *, void *, void *)=0
void Add(std::string_view path)
void WriteTo(IEntityResourceManifest &manifest) const
void Info(std::format_string< Args... > fmt, Args &&... args)
static std::string ReadFile(const std::filesystem::path &path)