QtCraft API C++ classes QML types Handbook

QcTickPhases Namespace

The number of the tick phases and their ids. More...

Header: #include <common/core/QcTickPhase.h>

Variables

const int count
const std::array<const char *, count> ids
const int inTick

Functions

const char *id(QcTickPhase phase)

Detailed Description

Variable Documentation

const int QcTickPhases::count

The number of phases, Messages included.

const std::array<const char *, count> QcTickPhases::ids

The id of each phase, in the order of the enum.

const int QcTickPhases::inTick

Phases inside a tick: all but Messages; their sum is the tick's duration.

Function Documentation

[constexpr] const char *QcTickPhases::id(QcTickPhase phase)

Returns the id of phase.