QtCraft API C++ classes QML types Handbook

QcMsg::DebugSubscribe Struct

struct QcMsg::DebugSubscribe

Client -> server: which debug data the client wants while its debug display, the control interface or the statistics log needs it; 0 stops it. More...

Header: #include <common/protocol/QcDebugMessages.h>

Public Variables

quint8 flags

Static Public Members

const quint8 all
const quint8 mobGoals
const quint8 stats

Detailed Description

Limited like other spammable messages (QcRateLimiter::Kind::Debug).

Member Variable Documentation

const quint8 DebugSubscribe::all

Both.

quint8 DebugSubscribe::flags

The data wanted, as the bits above.

const quint8 DebugSubscribe::mobGoals

Their goals: where the creatures near the player are heading.

const quint8 DebugSubscribe::stats

ServerDebug messages with the tick phases and counts.