UCI_StrikeCommandMessage

UCI_StrikeCommandMessage inherits UCI_Message

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

Overview

This message allows the user to command a weapon via UCI messaging.

Static Methods

static UCI_StrikeCommandMessage Construct(UCI_StrikeCommand aStrikeCommand)

Returns a UCI_StrikeCommandMessage with the given UCI_StrikeCommand.

Methods

void PushBack(UCI_StrikeCommand aStrikeCommand)

Adds a command to the the _UCI_StrikeCommandMessage.

UCI_CommandId CommandUUID(int aIndex)

Returns the command ID at the given index. If the index is less than 0 or greater than the number of capability commands in the message, it returns null.