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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
roflxd.cs - ROFL eXtract Data (C# vers.)
A complete ROFL parser for C#, supports both ROFL (pre 14.9) and ROFL2 (14.11+).
Installing
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 | Versions 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
|