mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 02:05:43 +08:00
Ref T242, null functions for livery, airline, aircraft
This commit is contained in:
@@ -180,6 +180,12 @@ namespace BlackMisc
|
||||
//! \remark normally used with liveries preselect by airline ICAO code
|
||||
int calculateScore(const CLivery &otherLivery, bool preferColorLiveries = false, CStatusMessageList *log = nullptr) const;
|
||||
|
||||
//! Null livery?
|
||||
bool isNull() const;
|
||||
|
||||
//! NULL object
|
||||
static const CLivery &null();
|
||||
|
||||
//! Object from JSON
|
||||
static CLivery fromDatabaseJson(const QJsonObject &json, const QString &prefix = QString("liv_"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user