Generated

from protobuf message SC2APIProtocol.ObserverAction

interface ObserverAction {
    action: {
        oneofKind: "playerPerspective";
        playerPerspective: ActionObserverPlayerPerspective;
    } | {
        cameraMove: ActionObserverCameraMove;
        oneofKind: "cameraMove";
    } | {
        cameraFollowPlayer: ActionObserverCameraFollowPlayer;
        oneofKind: "cameraFollowPlayer";
    } | {
        cameraFollowUnits: ActionObserverCameraFollowUnits;
        oneofKind: "cameraFollowUnits";
    } | {
        oneofKind: undefined;
    };
}

Properties

Properties

action: {
    oneofKind: "playerPerspective";
    playerPerspective: ActionObserverPlayerPerspective;
} | {
    cameraMove: ActionObserverCameraMove;
    oneofKind: "cameraMove";
} | {
    cameraFollowPlayer: ActionObserverCameraFollowPlayer;
    oneofKind: "cameraFollowPlayer";
} | {
    cameraFollowUnits: ActionObserverCameraFollowUnits;
    oneofKind: "cameraFollowUnits";
} | {
    oneofKind: undefined;
}

Type declaration

  • oneofKind: "playerPerspective"
  • playerPerspective: ActionObserverPlayerPerspective

    Generated

    from protobuf field: SC2APIProtocol.ActionObserverPlayerPerspective player_perspective = 1;

Type declaration

  • cameraMove: ActionObserverCameraMove

    Generated

    from protobuf field: SC2APIProtocol.ActionObserverCameraMove camera_move = 2;

  • oneofKind: "cameraMove"

Type declaration

  • cameraFollowPlayer: ActionObserverCameraFollowPlayer

    Generated

    from protobuf field: SC2APIProtocol.ActionObserverCameraFollowPlayer camera_follow_player = 3;

  • oneofKind: "cameraFollowPlayer"

Type declaration

  • cameraFollowUnits: ActionObserverCameraFollowUnits

    Generated

    from protobuf field: SC2APIProtocol.ActionObserverCameraFollowUnits camera_follow_units = 4;

  • oneofKind: "cameraFollowUnits"

Type declaration

  • oneofKind: undefined

Generated

from protobuf oneof: action

Generated using TypeDoc