Strike Mission

This class describes a strike mission where a group of attackers strike a group of targets.

ATTRIBUTES

  • id: (str) unique identifier for the mission.

    • Example: "a8ab936c-184b-42bf-aa83-abca31bb2e73"

  • name: (str) name of the mission.

    • Example: "Liaoning Strike"

  • sideId: (str) the side that owns the mission.

    • Example: "BLUE"

  • assignedUnitIds: (list[str]) list of unit IDs assigned to the mission.

    • Example: ["7bc96d3b-ffe7-4469-b976-893e7fa5deca", "46e0ab0f-b49c-4961-b265-ce93dd163c21"]

  • assignedTargetIds: (list[str]) list of target IDs.

    • Example: ["7bc96d3b-ffe7-4469-b976-893e7fa5deca", "46e0ab0f-b49c-4961-b265-ce93dd163c21"]

  • active: (bool) whether the mission is active.

METHODS

  • toJSON(): (str) returns this object as a JSON.

Last updated