QtCraft API C++ classes QML types Handbook

QcClientLogin::Credentials Struct

struct QcClientLogin::Credentials

What the client proves itself with. More...

Public Variables

QByteArray installationKey
QList<QcPackFingerprint> packs
QString password
int viewDistance

Detailed Description

Member Variable Documentation

QByteArray Credentials::installationKey

The installation key (QcPlayerKey); empty: a random key for this session only (the server then knows the player only until the name is used with another key).

QList<QcPackFingerprint> Credentials::packs

The client's content (QcContentFingerprint); the server refuses when they differ.

QString Credentials::password

The password for the server; empty when the server needs none.

int Credentials::viewDistance

Chunks to stream (0: the server's limit).