mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T231, Ref T232 utility functions
This commit is contained in:
@@ -199,6 +199,16 @@ namespace BlackSimPlugin
|
||||
return CCallsignSet(this->keys());
|
||||
}
|
||||
|
||||
QStringList CSimConnectObjects::getAllCallsignStrings(bool sorted) const
|
||||
{
|
||||
return this->getAllCallsigns().getCallsignStrings(sorted);
|
||||
}
|
||||
|
||||
QString CSimConnectObjects::getAllCallsignStringsAsString(bool sorted, const QString &separator) const
|
||||
{
|
||||
return this->getAllCallsignStrings(sorted).join(separator);
|
||||
}
|
||||
|
||||
CSimConnectObject CSimConnectObjects::getSimObjectForObjectId(DWORD objectId) const
|
||||
{
|
||||
for (const CSimConnectObject &simObject : this->values())
|
||||
|
||||
Reference in New Issue
Block a user