mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
refs #234, add methods to resolve user names from VATSIM file and display them in voice rooms
This commit is contained in:
@@ -79,6 +79,21 @@ namespace BlackMisc
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* All pilots
|
||||
*/
|
||||
CUserList CAtcStationList::getControllers() const
|
||||
{
|
||||
CUserList users;
|
||||
for (auto i = this->begin(); i != this->end(); ++i)
|
||||
{
|
||||
CAtcStation station = *i;
|
||||
if (station.getController().isValid()) users.push_back(station.getController());
|
||||
}
|
||||
return users;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Merge with booking
|
||||
*/
|
||||
@@ -160,7 +175,6 @@ namespace BlackMisc
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Merge with VATSIM data file
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user