QtCraft API C++ classes QML types Handbook

QcEffectCommands Class

/effect (decision E-450), for operators: gives a player a status effect for some seconds at a level, or takes one or all away. More...

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

Public Functions

void addTo(QcCommandRegistry &registry)

Static Public Members

const int defaultSeconds

Detailed Description

The client hears of it with the next tick (QcServerEffects).

Member Function Documentation

void QcEffectCommands::addTo(QcCommandRegistry &registry)

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

Member Variable Documentation

const int QcEffectCommands::defaultSeconds

Seconds and level of /effect give without them.