QtCraft API C++ classes QML types Handbook

QcAnvilSwap Struct

An anvil swap (decision E-870): the anvil turns a stack of one item into the same number of into, using up one with from its right slot. More...

Header: #include <common/content/items/QcAnvilSwap.h>

Public Variables

QString into
QString with

Detailed Description

A block declares it on one side (block field anvilSwap); QcAnvilSwaps gives both items the swap, each pointing at the other. Names are qualified. Server side only.

Member Variable Documentation

QString QcAnvilSwap::into

Qualified name of the item the stack turns into.

QString QcAnvilSwap::with

Qualified name of the item used up from the anvil's right slot, one per swap.