QtCraft API C++ classes QML types Handbook

QcMsg::PlayerList Struct

struct QcMsg::PlayerList

Server -> client: everyone on the server, sent to all whenever someone joins or leaves, and every two seconds while a round trip changed (decision E-886). More...

Header: #include <common/protocol/QcLoginMessages.h>

Public Types

struct Entry

Public Variables

QList<QcMsg::PlayerList::Entry> players

Static Public Members

const qsizetype maxPlayers

Detailed Description

Member Variable Documentation

const qsizetype PlayerList::maxPlayers

The most players of a list; the decoder refuses more.

QList<QcMsg::PlayerList::Entry> PlayerList::players

The players.