Fraxiinus.Rofl.Extract.Data 3.2.0

dotnet add package Fraxiinus.Rofl.Extract.Data --version 3.2.0                
NuGet\Install-Package Fraxiinus.Rofl.Extract.Data -Version 3.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fraxiinus.Rofl.Extract.Data" Version="3.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fraxiinus.Rofl.Extract.Data --version 3.2.0                
#r "nuget: Fraxiinus.Rofl.Extract.Data, 3.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fraxiinus.Rofl.Extract.Data as a Cake Addin
#addin nuget:?package=Fraxiinus.Rofl.Extract.Data&version=3.2.0

// Install Fraxiinus.Rofl.Extract.Data as a Cake Tool
#tool nuget:?package=Fraxiinus.Rofl.Extract.Data&version=3.2.0                

roflxd.cs - ROFL eXtract Data (C# vers.)

Go back to roflxd overview

A complete ROFL parser for C#, supports both ROFL (pre 14.9) and ROFL2 (14.11+).

Installing

nuget.org package listing

Package Manager

Install-Package Fraxiinus.Rofl.Extract.Data

.NET CLI

dotnet add package Fraxiinus.Rofl.Extract.Data

Usage

Use the ReplayReader class to read replay files by running the ReadReplayAsync method with the file path.

var replay = await ReplayReader.ReadReplayAsync("C:\\Documents\\File.rofl", options);

If the payload is required, use the optional parameter to let the parser know to not skip it (only supported by pre-14.9 replays):

var replay = await RoflReader.LoadAsync("C:\\Documents\\File.rofl", options);

Once the file is loaded, you are free to access the parsed data:

Console.WriteLine(((ROFL2) replay.Result).Metadata.GameVersion);

All the async functions support CancellationTokens.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Fraxiinus.Rofl.Extract.Data:

Repository Stars
fraxiinus/ReplayBook
Play, manage, and inspect League of Legends replays
Version Downloads Last updated
3.2.0 69 2/18/2025
3.1.1 301 6/7/2024
3.1.0 115 6/5/2024
3.0.0 116 6/4/2024
2.3.0 236 1/9/2024
2.2.0 260 7/1/2023
2.1.0 395 12/27/2022
2.0.0 391 8/7/2022
1.0.1 421 7/24/2022
1.0.0 410 7/24/2022