mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #250, helper methods
* in aircraft class to compare COM * in context / runtime component to check vitality of core
This commit is contained in:
@@ -55,6 +55,14 @@ namespace BlackMisc
|
||||
return this->m_distanceToPlane;
|
||||
}
|
||||
|
||||
/*
|
||||
* Same COM system data
|
||||
*/
|
||||
bool CAircraft::hasSameComData(const CComSystem &com1, const CComSystem &com2, const CTransponder &transponder)
|
||||
{
|
||||
return this->getCom1System() == com1 && this->getCom2System() == com2 && this->getTransponder() == transponder;
|
||||
}
|
||||
|
||||
/*
|
||||
* Valid for login
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user