mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Issue #113 Add flag for receiving SIMDATA packet in CFsdSetup
This commit is contained in:
@@ -54,7 +54,7 @@ namespace BlackMisc
|
||||
);
|
||||
}
|
||||
|
||||
void CFsdSetup::setSendReceiveDetails(bool partsSend, bool partsReceive, bool gndSend, bool gndReceive, bool interimSend, bool interimReceive)
|
||||
void CFsdSetup::setSendReceiveDetails(bool partsSend, bool partsReceive, bool gndSend, bool gndReceive, bool interimSend, bool interimReceive, bool euroscopeSimDataReceive)
|
||||
{
|
||||
SendReceiveDetails s = Nothing;
|
||||
if (partsSend) { s |= SendAircraftParts; }
|
||||
@@ -63,6 +63,7 @@ namespace BlackMisc
|
||||
if (gndReceive) { s |= ReceiveGndFlag; }
|
||||
if (interimSend) { s |= SendInterimPositions; }
|
||||
if (interimReceive) { s |= ReceiveInterimPositions; }
|
||||
if (euroscopeSimDataReceive) { s |= ReceiveEuroscopeSimData; }
|
||||
this->setSendReceiveDetails(s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user