mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Query real names for ATC stations again,
so we learn about changed "persons" (i.e. real name) see https://discordapp.com/channels/539048679160676382/632279098244333581/655740912336633868
This commit is contained in:
committed by
Mat Sutcliffe
parent
524a9b3793
commit
b3ad7ccdd9
@@ -294,12 +294,19 @@ namespace BlackCore
|
||||
int m_maxDistanceNM = 125; //!< position range / FSD range
|
||||
int m_maxDistanceNMHysteresis = qRound(1.1 * m_maxDistanceNM);
|
||||
|
||||
// Processing interval
|
||||
static constexpr int ProcessIntervalMs = 50; // in ms
|
||||
QTimer m_processTimer;
|
||||
// Processing for queries etc. (fast)
|
||||
static constexpr int FastProcessIntervalMs = 50; //!< interval in ms
|
||||
QTimer m_fastProcessTimer; //!< process timer for fast updates
|
||||
|
||||
//! Processing by timer
|
||||
void process();
|
||||
void fastProcessing();
|
||||
|
||||
// Processing for validations etc. (slow)
|
||||
static constexpr int SlowProcessIntervalMs = 125 * 1000; //!< interval in ms
|
||||
QTimer m_slowProcessTimer; //!< process timer for slow updates
|
||||
|
||||
//! Slow processing
|
||||
void slowProcessing();
|
||||
|
||||
// model matching times
|
||||
static constexpr qint64 MMCheckAgainMs = 2000;
|
||||
@@ -321,6 +328,9 @@ namespace BlackCore
|
||||
//! Network queries for ATC
|
||||
void sendInitialAtcQueries(const BlackMisc::Aviation::CCallsign &callsign);
|
||||
|
||||
//! Query all online ATC stations
|
||||
void queryAllOnlineAtcStations();
|
||||
|
||||
//! Network queries for ATIS
|
||||
bool sendNextStaggeredAtisQuery();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user