QtCraft API C++ classes QML types Handbook

QcNetworkClient::Request Struct

struct QcNetworkClient::Request

What to join with. More...

Public Variables

QcServerAddress address
QcAppearance appearance
int connectTimeoutMs
QcClientLogin::Credentials credentials
QString knownServersFile
QcNetworkClient::Pinning pinning
QString playerName
QcSessionTickMode tickMode

Detailed Description

Member Variable Documentation

QcServerAddress Request::address

The server's address.

QcAppearance Request::appearance

The player's look.

int Request::connectTimeoutMs

Milliseconds the connection may take before the join fails.

QcClientLogin::Credentials Request::credentials

The login data.

QString Request::knownServersFile

The pins (QcKnownServers). With Pinning::Check and TLS a join without it fails.

QcNetworkClient::Pinning Request::pinning

Whether the server's certificate is checked against its pin.

QString Request::playerName

The player's name.

QcSessionTickMode Request::tickMode

How the session ticks (the headless client ticks in its own thread, decision E-560).