UCI_StrikeActivity¶
- UCI_StrikeActivity
Overview¶
This type holds the information given by a strike activity.
Note
For all methods, if the uci_interface block is not set, the values return as follows:
int: 0
bool: false
string: empty/null string
UCI_*: null
Methods¶
- UCI_ActivityId ActivityId()¶
Returns the activity’s ID.
- UCI_CapabilityId CapabilityId(int aIndex)¶
Returns the activity’s capability ID at the given index. If aIndex is less than 0 or greater than _CapabilityIdSize, this returns null.
- int CapabilityIdSize()¶
Returns the number of capability IDs in the activity.
- bool IsReadyForRelease()¶
Returns true if the weapon is ready for release, returns false otherwise.
- bool IsSelectedForJettison()¶
Returns true if the weapon has been given the command to be selected for jettison, returns false otherwise.
- bool IsSelectedForKeyLoad()¶
Returns true if the weapon has been given the command to be selected for key load, returns false otherwise.
- bool IsSelectedForRelease()¶
Returns true if the weapon has been given the command to be selected for release, returns false otherwise.
- bool IsWeaponArmed()¶
Returns true if the weapon has been given the command to be armed, returns false otherwise.
- bool HasFailed()¶
Returns true if the activity state is equal to UCI_FAILED, returns false otherwise.
- bool IsActiveFullyConstrained()¶
Returns true if the activity state is equal to UCI_ACTIVE_FULLY_CONSTRAINED, returns false otherwise.
- bool IsActivePartiallyConstrained()¶
Returns true if the activity state is equal to UCI_ACTIVE_PARTIALLY_CONSTRAINED, returns false otherwise.
- bool IsActiveUnconstrained()¶
Returns true if the activity state is equal to UCI_ACTIVE_UNCONSTRAINED, returns false otherwise.
- bool IsCompleted()¶
Returns true if the activity state is equal to UCI_COMPLETED, returns false otherwise.
- bool IsDeleted()¶
Returns true if the activity state is equal to UCI_DELETED, returns false otherwise.
- bool IsDisabled()¶
Returns true if the activity state is equal to UCI_DISABLED, returns false otherwise.
- bool IsEnabled()¶
Returns true if the activity state is equal to UCI_ENABLED, returns false otherwise.