Interface InterfaceOptions

Generated

from protobuf message SC2APIProtocol.InterfaceOptions

interface InterfaceOptions {
    featureLayer?: SpatialCameraSetup;
    raw?: boolean;
    rawAffectsSelection?: boolean;
    rawCropToPlayableArea?: boolean;
    render?: SpatialCameraSetup;
    score?: boolean;
    showBurrowedShadows?: boolean;
    showCloaked?: boolean;
    showPlaceholders?: boolean;
}

Properties

featureLayer?: SpatialCameraSetup

Generated

from protobuf field: optional SC2APIProtocol.SpatialCameraSetup feature_layer = 3;

raw?: boolean

Interface options

Generated

from protobuf field: optional bool raw = 1;

rawAffectsSelection?: boolean

By default raw actions select, act and revert the selection. This is useful if you're playing simultaneously with the agent so it doesn't steal your selection. This inflates APM (due to deselect) and makes the actions hard to follow in a replay. Setting this to true will cause raw actions to do select, act, but not revert the selection.

Generated

from protobuf field: optional bool raw_affects_selection = 6;

rawCropToPlayableArea?: boolean

Changes the coordinates in raw.proto to be relative to the playable area. The map_size and playable_area will be the diagonal of the real playable area.

Generated

from protobuf field: optional bool raw_crop_to_playable_area = 7;

Generated

from protobuf field: optional SC2APIProtocol.SpatialCameraSetup render = 4;

score?: boolean

Generated

from protobuf field: optional bool score = 2;

showBurrowedShadows?: boolean

Generated

from protobuf field: optional bool show_burrowed_shadows = 9;

showCloaked?: boolean

Generated

from protobuf field: optional bool show_cloaked = 5;

showPlaceholders?: boolean

Generated

from protobuf field: optional bool show_placeholders = 8;

Generated using TypeDoc