QtCraft API C++ classes QML types Handbook

QcPackFingerprint Struct

One content pack as server and client compare it: id, version and a hash over its files (QcContentFingerprint). More...

Header: #include <common/protocol/QcLoginMessages.h>

Public Variables

QString hash
QString id
QString version

Static Public Members

const qsizetype maxTextLength

Detailed Description

An empty hash means "not computed" and only id and version count.

Member Variable Documentation

QString QcPackFingerprint::hash

The hash over its files; empty when not computed.

QString QcPackFingerprint::id

The pack's id.

const qsizetype QcPackFingerprint::maxTextLength

The longest id, version and hash; the decoder refuses longer ones.

QString QcPackFingerprint::version

The pack's version.