QcMsg::Welcome Struct
struct QcMsg::WelcomeServer -> client: accepted connection. More...
| Header: | #include <common/protocol/QcSessionMessages.h> |
Public Variables
| float | pitch |
| quint32 | playerEntityId |
| quint32 | protocolVersion |
| bool | restoredView |
| qint64 | seed |
| qint32 | spawnX |
| qint32 | spawnZ |
| qint32 | viewDistance |
| QString | worldName |
| float | yaw |
Static Public Members
| const qint32 | maxViewDistance |
Detailed Description
Member Variable Documentation
const qint32 Welcome::maxViewDistance
The largest view distance in chunks; the decoder refuses a larger one.
quint32 Welcome::playerEntityId
The entity id of the receiving player.
quint32 Welcome::protocolVersion
The protocol version of the server.
qint64 Welcome::seed
The world's seed.
qint32 Welcome::viewDistance
Chunks the server streams around this player (at most its limit).
QString Welcome::worldName
The world's name.