QtCraft API C++ classes QML types Handbook

QcServerClient::Anvil Struct

struct QcServerClient::Anvil

The open anvil (QcServerAnvil, decision E-866): where it stands, its left and right slots and the text of its name field. More...

Public Functions

void setLeft(const QcItemStack &stack)

Detailed Description

What it makes follows from them (QcAnvil::result). The name field follows the left stack: whenever another stack (or the same with other data) lies there, the field holds that stack's custom name, so a repair keeps the name (as in the reference).

Member Function Documentation

void Anvil::setLeft(const QcItemStack &stack)

Puts stack into the left slot; another item or other data takes its custom name into the name field.