QcMsg::AdvancementProgress Struct
struct QcMsg::AdvancementProgressServer -> client: the receiving player's progress in the adventure guide (decision E-923). More...
| Header: | #include <common/protocol/QcAdvancementMessages.h> |
Public Types
| struct | Entry |
Public Variables
Static Public Members
| const qsizetype | maxCriteria |
| const qsizetype | maxEntries |
| const qsizetype | maxNameLength |
Detailed Description
After the welcome the server sends all of it in messages of at most maxEntries entries, the first with reset (the client forgets what it knew); afterwards each change as a delta with the advancements whose criteria changed. An entry carries all met criteria of its advancement (none: revoked) and whether it is reached; announce asks for the toast (reached just now).
Member Variable Documentation
QList<QcMsg::AdvancementProgress::Entry> AdvancementProgress::entries
The entries.
const qsizetype AdvancementProgress::maxCriteria
The most criteria of an entry; the decoder refuses more.
const qsizetype AdvancementProgress::maxEntries
The most entries of a message; the decoder refuses more.
const qsizetype AdvancementProgress::maxNameLength
The longest advancement or criterion name (UTF-16 units); the decoder refuses longer ones.
bool AdvancementProgress::reset
Whether the client forgets what it knew first.