QtCraft API C++ classes QML types Handbook

QcClientHealth Namespace

The client session's part of the health line (decision E-834). More...

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

Functions

QcHealthSample sample(const QcClientSession &session)

Detailed Description

Function Documentation

QcHealthSample QcClientHealth::sample(const QcClientSession &session)

Returns the client's part of the health line of session: loaded chunks, entities and players the client knows, the server's tick times when it sends debug data (the latest five seconds), the round trip of the inputs since the previous call and the bytes of the connection. Takes the round trips (QcLinkStats::take).