QtCraft API C++ classes QML types Handbook

QcPlacedBlock Struct

A block state at a cell: one block a plan, a rule or a server system places or changes (decision E-975). Protocol messages keep their own types. More...

Header: #include <common/content/blocks/QcPlacedBlock.h>

Public Variables

QcBlockId block
QcBlockPos pos

Detailed Description

Member Variable Documentation

QcBlockId QcPlacedBlock::block

The block state placed there.

QcBlockPos QcPlacedBlock::pos

The cell in world coordinates.