QtCraft API C++ classes QML types Handbook

QcMsg::PlayerList::Entry Struct

struct QcMsg::PlayerList::Entry

One player. More...

Public Variables

quint32 entityId
qint32 latencyUs
QString name
bool operatorRights
bool spectator

Detailed Description

Member Variable Documentation

quint32 Entry::entityId

The player's entity.

qint32 Entry::latencyUs

The round trip the player's client measured (decision E-886), smoothed, in microseconds; -1 while unknown.

QString Entry::name

The player's name.

bool Entry::operatorRights

Whether the player has operator rights.

bool Entry::spectator

In spectator mode (decision E-730): listed, but shown apart.