mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T180, remove aircraft
* utility function getAllCallsigns * allow to trace sendId (in removing) * make sure aircraft are not added again by upfront clearing lists
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "simconnectobject.h"
|
||||
#include "simconnectobject.h"
|
||||
#include "blackmisc/simulation/interpolatormulti.h"
|
||||
|
||||
@@ -128,6 +129,11 @@ namespace BlackSimPlugin
|
||||
return getSimObjectForObjectId(objectId).getCallsign();
|
||||
}
|
||||
|
||||
CCallsignSet CSimConnectObjects::getAllCallsigns() const
|
||||
{
|
||||
return CCallsignSet(this->keys());
|
||||
}
|
||||
|
||||
CSimConnectObject CSimConnectObjects::getSimObjectForObjectId(DWORD objectId) const
|
||||
{
|
||||
for (const CSimConnectObject &simObject : this->values())
|
||||
|
||||
Reference in New Issue
Block a user