Static
DEFAULT_Default game version used if replay is not available. It's just the last available osu!lazer version at the moment.
Performs score encoding to a buffer.
Optional
score: IScoreThe score for encoding.
Optional
beatmap: IBeatmapThe beatmap of the replay. It is required if replay contains non-legacy frames.
The buffer with encoded score & replay data.
If beatmap wasn't provided for non-legacy replay.
Performs score & replay encoding to the specified path.
The path for writing the .osr file.
Optional
score: IScoreThe score for encoding.
Optional
beatmap: IBeatmapThe beatmap of the replay. It is required if replay contains non-legacy frames.
If score can't be encoded
If beatmap wasn't provided for non-legacy replay.
If score can't be encoded or file can't be written.
A score encoder.