10 namespace swift::core::fsd
12 DeletePilot::DeletePilot() : MessageBase() {}
14 DeletePilot::DeletePilot(
const QString &callsign,
const QString &
id) :
MessageBase(callsign), m_cid(id) {}
18 auto tokens = QStringList {};
20 tokens.push_back(
m_cid);
34 DeletePilot packet(tokens[0], (tokens.size() >= 2) ? tokens[1] :
"");
Used to notify the server of the intention to close the connection. If a client receives this packet ...
QStringList toTokens() const
Message converted to tokens.
static DeletePilot fromTokens(const QStringList &tokens)
Construct from tokens.
QString m_sender
message sender
Class for emitting a log message.
Derived & debug()
Set the severity to debug.
Free functions in swift::misc.