QtCraft API C++ classes QML types Handbook

QcAdminCompletion::Sources Struct

struct QcAdminCompletion::Sources

What completion takes its words from. More...

Header: #include <clientcore/admin/QcAdminCompletion.h>

Public Variables

const QcMsg::AdminCatalogue &catalogue
const QcContentRegistry *content
QStringList players

Detailed Description

Member Variable Documentation

const QcMsg::AdminCatalogue &Sources::catalogue

The server's commands with their usage, for command names and parameters.

const QcContentRegistry *Sources::content

May be null; then blocks, items and creatures offer nothing.

QStringList Sources::players

The names of the players on the server.