Type Alias: ScoreEditor
ScoreEditor =
object
Defined in: src/scores.ts:17
This example requires Node.js.
ts
import type { ScoreEditor } from 'osu-files'
const value = {} as ScoreEditor
return valueProperties
Methods
editReplay()
editReplay(
transform):Promise<boolean>
Defined in: src/scores.ts:23
Replaces the replay and refreshes replay fields.
Parameters
| Parameter | Type |
|---|---|
transform | (content) => Buffer<ArrayBufferLike> | Promise<Buffer<ArrayBufferLike>> |
Returns
Promise<boolean>
This example requires Node.js.
ts
import { ScoreEditor } from 'osu-files'
return undefined