QtCraft API C++ classes QML types Handbook

QcMsg::RenameAnvil Struct

struct QcMsg::RenameAnvil

Client -> server: the text of the anvil's name field changed (at most QcItemData::maxNameLength characters after trimming). More...

Header: #include <common/protocol/QcMachineMessages.h>

Public Variables

QString name

Static Public Members

const qsizetype maxText

Detailed Description

Member Variable Documentation

const qsizetype RenameAnvil::maxText

The longest text the field sends (spaces around it included); the name is cut to QcItemData::maxNameLength.

QString RenameAnvil::name

The field's text.