Struct thl::net::AssetFile#
-
struct AssetFile#
Collaboration diagram for thl::net::AssetFile:
One file inside an asset.
The caller fills this in from whatever index it uses — this component has no opinion about manifests.
Public Members
-
std::string m_url#
Absolute URL to fetch.
-
std::string m_name#
Filename to store, relative to the asset directory.
May contain separators for nested layouts; must not escape the directory.
-
std::uint64_t m_size = 0#
Expected size in bytes. Zero means unknown — the size check is skipped.
-
std::string m_sha256#
Expected SHA-256, lowercase hex.
Empty means unverified, which the store allows but callers should avoid.
-
std::string m_url#