swift
Public Member Functions | Static Public Member Functions | List of all members
swift::core::fsd::PlaneInformation Class Reference

This packet is sent in reply to a PIR request to inform the client which multiplayer model to use. The airline and livery fields are optional. More...

Inheritance diagram for swift::core::fsd::PlaneInformation:
[legend]

Public Member Functions

 PlaneInformation (const QString &sender, const QString &receiver, const QString &aircraft, const QString &airline, const QString &livery)
 Constructor.
 
QStringList toTokens () const
 Message converted to tokens.
 
- Public Member Functions inherited from swift::core::fsd::MessageBase
 MessageBase ()
 Default Constructor.
 
 MessageBase (const QString &sender)
 Constructor.
 
 MessageBase (const QString &sender, const QString &receiver)
 Constructor.
 
void setCallsign (const QString &sender)
 Set callsign.
 
QString sender () const
 get message sender
 
void setReceiver (const QString &receiver)
 Set message receiver.
 
QString receiver () const
 Get message receiver.
 
bool isValid () const
 Is message valid?
 
void setValid (bool isValid)
 set message valid
 

Static Public Member Functions

static PlaneInformation fromTokens (const QStringList &tokens)
 Construct from tokens.
 
static QString pdu ()
 PDU identifier.
 

Public Attributes

QString m_aircraft
 Properties.
 
QString m_airline
 Properties.
 
QString m_livery
 Properties.
 

Additional Inherited Members

- Protected Attributes inherited from swift::core::fsd::MessageBase
QString m_sender
 message sender
 
QString m_receiver
 message receiver
 
bool m_isValid = true
 is valid?
 

Detailed Description

This packet is sent in reply to a PIR request to inform the client which multiplayer model to use. The airline and livery fields are optional.

Definition at line 15 of file planeinformation.h.


The documentation for this class was generated from the following files: