TaskRequest

data class TaskRequest(val taskType: String = "", val targetUid: String = "", val assigneeUid: String = "", val priority: Int = 0, val status: Int = 0, val note: String = "") : TakPacketV2Data.Payload(source)

Task / engage request (CoT type t-s).

Maps to the TaskRequest protobuf message at payload_variant tag 40. The requester UID is implicit from TAKPacketV2.uid.

Constructors

Link copied to clipboard
constructor(taskType: String = "", targetUid: String = "", assigneeUid: String = "", priority: Int = 0, status: Int = 0, note: String = "")

Properties

Link copied to clipboard

UID of the assigned unit. Empty = unassigned / broadcast.

Link copied to clipboard
Link copied to clipboard

One of Priority_* constants (1..4).

Link copied to clipboard
val status: Int

One of Status_* constants (1..5).

Link copied to clipboard

UID of the map item being tasked.

Link copied to clipboard

Short task category tag (e.g. "engage", "observe", "recon").