Struct thl::net::AssetDescriptor#

struct AssetDescriptor#

Collaboration diagram for thl::net::AssetDescriptor:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="std::basic_string< Char >" tooltip="std::basic_string< Char >"] "2" [label="std::string" tooltip="std::string"] "1" [label="thl::net::AssetDescriptor" tooltip="thl::net::AssetDescriptor" fillcolor="#BFBFBF"] "5" [label="thl::net::AssetFile" tooltip="thl::net::AssetFile"] "4" [label="std::vector< thl::net::AssetFile >" tooltip="std::vector< thl::net::AssetFile >"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="usage"] "1" -> "4" [dir=forward tooltip="usage"] "5" -> "2" [dir=forward tooltip="usage"] "4" -> "5" [dir=forward tooltip="usage"] }

A complete, versioned asset: the unit that gets installed or removed.

Public Members

std::string m_id#

Stable identifier, used as a directory name.

Must be a single path segment: no separators, no “..”.

std::string m_version#

Version, used as the second directory level. Same constraints.

std::vector<AssetFile> m_files#