RPE Chart Utils
    Preparing search index...

    Function forEachEvent

    • Iterate all events in all event layers of all lines, running a callback on each Event.

      Parameters

      • chart: RpeJson

        The RPE chart.

      • fn: (ev: Event, type: EventChannelType, layerIndex: number, line: JudgeLine) => void

        Callback receiving the event, its channel type, layer index, and line.

      • channels: EventChannelFilter = "all"

        Which channels to visit (default: all layer channels).

      Returns void