Interface ActionSpatialUnitCommand

Generated

from protobuf message SC2APIProtocol.ActionSpatialUnitCommand

interface ActionSpatialUnitCommand {
    abilityId?: number;
    queueCommand?: boolean;
    target: {
        oneofKind: "targetScreenCoord";
        targetScreenCoord: PointI;
    } | {
        oneofKind: "targetMinimapCoord";
        targetMinimapCoord: PointI;
    } | {
        oneofKind: undefined;
    };
}

Properties

abilityId?: number

Generated

from protobuf field: optional int32 ability_id = 1;

queueCommand?: boolean

Generated

from protobuf field: optional bool queue_command = 4;

target: {
    oneofKind: "targetScreenCoord";
    targetScreenCoord: PointI;
} | {
    oneofKind: "targetMinimapCoord";
    targetMinimapCoord: PointI;
} | {
    oneofKind: undefined;
}

Type declaration

  • oneofKind: "targetScreenCoord"
  • targetScreenCoord: PointI

    Generated

    from protobuf field: SC2APIProtocol.PointI target_screen_coord = 2;

Type declaration

  • oneofKind: "targetMinimapCoord"
  • targetMinimapCoord: PointI

    Generated

    from protobuf field: SC2APIProtocol.PointI target_minimap_coord = 3;

Type declaration

  • oneofKind: undefined

Generated

from protobuf oneof: target

Generated using TypeDoc