mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
refs #291, getAirportsInRange for simulator, simulator context
This commit is contained in:
@@ -202,6 +202,13 @@ namespace BlackSimPlugin
|
||||
return { m_xplaneData.aircraftModelPath, true };
|
||||
}
|
||||
|
||||
BlackMisc::Aviation::CAirportList CSimulatorXPlane::getAirportsInRange() const
|
||||
{
|
||||
// TODO: Fill with airports nearby from sim
|
||||
BlackMisc::Aviation::CAirportList airports;
|
||||
return airports;
|
||||
}
|
||||
|
||||
bool CSimulatorXPlane::updateOwnSimulatorCockpit(const BlackMisc::Aviation::CAircraft &aircraft)
|
||||
{
|
||||
if (! isConnected()) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user