QtCraft API C++ classes QML types Handbook

QcPathCellTable Class

The cells of every block state of a content, indexed by QcBlockId. More...

Header: #include <server/pathing/QcPathCells.h>

Public Functions

QcPathGap gap(QcBlockId state) const
quint8 of(QcBlockId state) const

Detailed Description

Member Function Documentation

QcPathGap QcPathCellTable::gap(QcBlockId state) const

Returns the gap of the block state state; no gap for ids outside the content.

quint8 QcPathCellTable::of(QcBlockId state) const

Returns the cell of the block state state; unknown for ids outside the content.