Struct thl::net::AssetProgress#

struct AssetProgress#

Collaboration diagram for thl::net::AssetProgress:

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::AssetProgress" tooltip="thl::net::AssetProgress" fillcolor="#BFBFBF"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="usage"] }

Progress across a whole install, so callers can drive one bar rather than one per file.

Public Members

std::size_t m_file_index = 0#
std::size_t m_file_count = 0#
std::string m_current_file#

Name of the file currently transferring.

std::uint64_t m_bytes_done = 0#

Bytes finished across all files, including those already verified.

std::uint64_t m_bytes_total = 0#

Sum of every m_size in the descriptor. Zero when any size was unknown.