QcStandCommands Class
Chat commands for armour stands and armour (decision E-239). More...
| Header: | #include <server/commands/QcStandCommands.h> |
Public Functions
| void | armorStand(QcServerClient &client, const QStringList &words) |
| void | equip(QcServerClient &client, const QStringList &words) |
| bool | summon(QcServerClient &client, const QStringList &words) |
Static Public Members
| const double | targetRange |
Detailed Description
QcCheatCommands calls them:
/armorstand <nearest|looking|id> <property> [values] /summon <stand item> [property=value[,value…] …] /equip <item|set|clear> The properties and their checks are QcStandProperties; "info" lists them.
Member Function Documentation
void QcStandCommands::armorStand(QcServerClient &client, const QStringList &words)
Runs /armorstand for client; words starts with the command.
void QcStandCommands::equip(QcServerClient &client, const QStringList &words)
Runs /equip for client; words starts with the command.
bool QcStandCommands::summon(QcServerClient &client, const QStringList &words)
Runs /summon of a stand for client; words starts with the command. Returns false when words[1] names no item that places a stand (then it is a creature).
Member Variable Documentation
const double QcStandCommands::targetRange
How far nearest and ids reach from the player.