11 namespace swift::core::fsd
15 :
MessageBase(callsign,
"SERVER"), m_cid(cid), m_password(password), m_rating(rating),
16 m_protocolRevision(protocolRevision), m_simType(simType), m_realName(realName)
35 if (tokens.
size() < 6)
42 const int protocolRevision = tokens[5].toInt();
SimType simType() const
Get simulator type.
PilotRating rating() const
Get pilot rating.
QStringList toTokens() const
Message converted to tokens.
static AddPilot fromTokens(const QStringList &tokens)
Construct from tokens.
QString m_receiver
message receiver
QString m_sender
message sender
Class for emitting a log message.
Derived & warning(const char16_t(&format)[N])
Set the severity to warning, providing a format string.
SimType
Flight simulator type.
PilotRating
Pilot ratings.
Free functions in swift::misc.
void push_back(QList< T >::parameter_type value)
qsizetype size() const const
QString number(double n, char format, int precision)