mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Ref T111, access to own aircraft`s situation
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a1357f0bd7
commit
b423a62626
@@ -91,6 +91,12 @@ namespace BlackCore
|
||||
return this->m_ownAircraft.getPosition();
|
||||
}
|
||||
|
||||
CAircraftSituation CContextOwnAircraft::getOwnAircraftSituation() const
|
||||
{
|
||||
QReadLocker l(&m_lockAircraft);
|
||||
return this->m_ownAircraft.getSituation();
|
||||
}
|
||||
|
||||
CAircraftParts CContextOwnAircraft::getOwnAircraftParts() const
|
||||
{
|
||||
QReadLocker l(&m_lockAircraft);
|
||||
|
||||
Reference in New Issue
Block a user