QcRails::Table Class
class QcRails::TableThe track and behaviour of every block state of a content, looked up once (carts ask every tick). More...
| Header: | #include <common/blockrules/QcRails.h> |
Public Functions
| QcRails::Behaviour | behaviourOf(QcBlockId block) const |
| const std::optional<QcRails::Track> & | trackOf(QcBlockId block) const |
Detailed Description
Member Function Documentation
QcRails::Behaviour Table::behaviourOf(QcBlockId block) const
Returns the behaviour of the state block; none for other blocks.
const std::optional<QcRails::Track> &Table::trackOf(QcBlockId block) const
Returns the track of the state block; nothing for other blocks.