mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T307, using "isReadyToSend" to detect if we can send AI object updates
This commit is contained in:
@@ -134,6 +134,9 @@ namespace BlackSimPlugin
|
||||
//! Removing is pending
|
||||
bool isPendingRemoved() const { return m_pendingRemoved; }
|
||||
|
||||
//! Object which can be used for sending, not pending and valid ids
|
||||
bool isReadyToSend() const { return !this->isPending() && this->hasValidRequestAndObjectId(); }
|
||||
|
||||
//! Marked as pending for removal
|
||||
void setPendingRemoved(bool pending);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user