QtCraft API C++ classes QML types Handbook

QcAdvancementCommands Class

/advancement (decision E-923), for operators: grants or revokes an advancement of a player (every criterion of it), or all of them with "everything", and shows what a player has reached. More...

Header: #include <server/commands/QcAdvancementCommands.h>

Public Functions

void addTo(QcCommandRegistry &registry)

Detailed Description

The client hears of the change in the next tick (QcServerAdvancements::tick); a grant shows the toast.

Member Function Documentation

void QcAdvancementCommands::addTo(QcCommandRegistry &registry)

Adds the commands of this group (see the class) to registry.