QtCraft API C++ classes QML types Handbook

QcDebugText Class

The debug display's text (decision E-225), translated: one line for the compact level, the general column (position, light, target, entities, chunks, memory, server) and the time column (client frame and server tick phases, mean and maximum, aligned for a fixed-width font) for the full level. More...

Header: #include <clientcore/debug/QcDebugText.h>

Static Public Members

QString compact(const QcDebugSnapshot &snapshot)
QStringList general(const QcDebugSnapshot &snapshot)
QString phaseName(QcFramePhase phase)
QString phaseName(QcTickPhase phase)
QStringList timings(const QcDebugSnapshot &snapshot)

Detailed Description

GUI-free.

Member Function Documentation

[static] QString QcDebugText::compact(const QcDebugSnapshot &snapshot)

Returns the line of the compact level for snapshot: FPS and frame time.

[static] QStringList QcDebugText::general(const QcDebugSnapshot &snapshot)

Returns the general column of the full level for snapshot.

[static] QString QcDebugText::phaseName(QcFramePhase phase)

Returns the translated name of the client frame phase phase.

[static] QString QcDebugText::phaseName(QcTickPhase phase)

Returns the translated name of the server tick phase phase.

[static] QStringList QcDebugText::timings(const QcDebugSnapshot &snapshot)

Returns the time column of the full level for snapshot.