Interface RequestStartReplay


Generated

from protobuf message SC2APIProtocol.RequestStartReplay

interface RequestStartReplay {
    disableFog?: boolean;
    mapData?: Uint8Array;
    observedPlayerId?: number;
    options?: InterfaceOptions;
    realtime?: boolean;
    recordReplay?: boolean;
    replay: {
        oneofKind: "replayPath";
        replayPath: string;
    } | {
        oneofKind: "replayData";
        replayData: Uint8Array;
    } | {
        oneofKind: undefined;
    };
}

Properties

disableFog?: boolean

Generated

from protobuf field: optional bool disable_fog = 4;

mapData?: Uint8Array

Generated

from protobuf field: optional bytes map_data = 6;

observedPlayerId?: number

Generated

from protobuf field: optional int32 observed_player_id = 2;

Generated

from protobuf field: optional SC2APIProtocol.InterfaceOptions options = 3;

realtime?: boolean

Generated

from protobuf field: optional bool realtime = 7;

recordReplay?: boolean

Generated

from protobuf field: optional bool record_replay = 8;

replay: {
    oneofKind: "replayPath";
    replayPath: string;
} | {
    oneofKind: "replayData";
    replayData: Uint8Array;
} | {
    oneofKind: undefined;
}

Type declaration

  • oneofKind: "replayPath"
  • replayPath: string

    Generated

    from protobuf field: string replay_path = 1;

Type declaration

  • oneofKind: "replayData"
  • replayData: Uint8Array

    Generated

    from protobuf field: bytes replay_data = 5;

Type declaration

  • oneofKind: undefined

Generated

from protobuf oneof: replay

Generated using TypeDoc