QtCraft API C++ classes QML types Handbook

QcControlTradeCommands Class

Control commands for trading with villagers (decision E-414): opening a villager's screen, listing its offers, trading and closing. More...

Header: #include <clientcore/control/QcControlTradeCommands.h>

Public Functions

void registerCommands(QcControlCommandTable &table)

Detailed Description

Member Function Documentation

void QcControlTradeCommands::registerCommands(QcControlCommandTable &table)

Adds the commands of this group to table.