QcMsg::Hello Struct
struct QcMsg::HelloClient -> server: first message on every connection. More...
| Header: | #include <common/protocol/QcSessionMessages.h> |
Public Variables
| QcAppearance | appearance |
| QString | client |
| QString | playerName |
| quint32 | protocolVersion |
Static Public Members
| const qsizetype | maxClientLength |
| const qsizetype | maxNameLength |
Detailed Description
Member Variable Documentation
QcAppearance Hello::appearance
The player's look.
QString Hello::client
Program, version, commit and system of the client (QcBuildInfo::clientText) for the server's log (decision E-834); sent before the appearance.
const qsizetype Hello::maxClientLength
Longer client texts are refused by the decoder.
const qsizetype Hello::maxNameLength
Longer names are refused by the decoder before the server cleans them (32 code points).
QString Hello::playerName
The name the player wants to play under.
quint32 Hello::protocolVersion
The protocol version of the client (QcProtocol::version).