legalActions
legalActions(
vesselId,variant,vessels): readonlyobject[]
Defined in: packages/engine/src/lib/response/execution-plan/final-variants.ts:88
The actions an instance of vesselId offers while in variant: the
variant’s declared actions, in declaration order. Empty when the Vessel or
the variant is not in vessels.
Parameters
Section titled “Parameters”vesselId
Section titled “vesselId”VesselId
variant
Section titled “variant”VariantName
vessels
Section titled “vessels”readonly object[]
Returns
Section titled “Returns”readonly object[]