QtCraft API C++ classes QML types Handbook

<common/core/QcCommandCategory.h>

Declarations at global scope in common/core/QcCommandCategory.h. More...

Header: #include <common/core/QcCommandCategory.h>

Types

enum class QcCommandCategory { General, Players, Items, Creatures, Building, …, Other }

Detailed Description

Type Documentation

enum class QcCommandCategory

The group a command belongs to (decision E-911): /help lists the commands by group and pages through a group (QcCommandHelp holds its texts), the command list of "Manage server" shows them under the group's title (QcAdminCommandList).

Each group has an English word /help takes.

ConstantValueDescription
QcCommandCategory::General0General commands ("general").
QcCommandCategory::Players1Players ("players").
QcCommandCategory::Items2Items and health ("items").
QcCommandCategory::Creatures3Creatures ("creatures").
QcCommandCategory::Building4Building ("building").
QcCommandCategory::World5The world and its rules ("world").
QcCommandCategory::Finding6Finding places ("finding").
QcCommandCategory::Server7The server ("server").
QcCommandCategory::Other8Macros of the content and C++ extensions that name no group.