QtCraft API C++ classes QML types Handbook

QcMsg::AdminChatLine Struct

struct QcMsg::AdminChatLine

One chat line as the server sent it to the players, with when (ms since the epoch) and who wrote it (empty for lines of the server). More...

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

Public Variables

QcMsg::ChatMessage message
QString sender
qint64 timeMs

Detailed Description

Member Variable Documentation

QcMsg::ChatMessage AdminChatLine::message

The line.

QString AdminChatLine::sender

Who wrote it; empty for lines of the server.

qint64 AdminChatLine::timeMs

When the line was sent, in milliseconds since the epoch.