Noisrev.League.IO.RST 3.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Noisrev.League.IO.RST --version 3.1.1                
NuGet\Install-Package Noisrev.League.IO.RST -Version 3.1.1                
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="Noisrev.League.IO.RST" Version="3.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Noisrev.League.IO.RST --version 3.1.1                
#r "nuget: Noisrev.League.IO.RST, 3.1.1"                
#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 Noisrev.League.IO.RST as a Cake Addin
#addin nuget:?package=Noisrev.League.IO.RST&version=3.1.1

// Install Noisrev.League.IO.RST as a Cake Tool
#tool nuget:?package=Noisrev.League.IO.RST&version=3.1.1                

📖 Noisrev.League.IO.RST

This is a library that parses and manipulates League of Legends RST files.

NetStandard LICENSE Downloads PackageVersion FOSSA Status

NetFramework NetCore CodeQL .NET

Bilibili

✨ RST (Riot String Table)

The RST file is a file that stores a list of strings.

It is used to store the game text and messages for League of Legends.

  • champion name, skill description, skin name, etc...
  • Like: "Riven", "Championship Riven 2016", "<mainText><stats><attention>%i:scaleAP% 25</attention> Ability Power<br><attention>%i:scaleMPen% 15%</attention> Magic Penetration</stats></mainText><br>"
  • And more...

If you would like to see more details about the RST file, please see: RSTFile.cs.

📢 Notice

In version 3.0, I refactored most of the read and write code to improve performance. A faster BytesReader and a BytesWriter were created to optimize read and write operations.

Method Runtime Mean Allocated
(Version 3)
Open .NET 6.0 74.13 ms 36 MB
Write .NET 6.0 52.20 ms 30 MB
(Before)
Open .NET 6.0 323.0 ms 120 MB
Write .NET 6.0 434.6 ms 46 MB

Read and write will now be faster and less memory allocated than before!

🎉 Release Note

3.1.1

  • Add multi-target framework
  • Update project properties and package references
  • Enable nullable for project and improve the code

3.1

v3.0

  • Added new RSTBuilder (content to build RSTFile).
  • Deprecated Extensions.Data.xxHash.core20 package, change to use Standart.Hash.xxHash package.
  • New BytesReader and BytesWriter were created to improve performance.
  • Optimized Read and Write performance of RSTFile (now 76% faster (Read) and 87% (Write)).
  • Set the Release Optimize to true (I've never noticed that before...).
  • Test projects are tested using BenchmarkDotnet.
  • Update and fix some code comments.

v2.0

  • Change it to Dictionary for faster retrieval and storage
  • Disabling Hash changes (read only)

v1.4.1.2

  • Update "Equals" Method

v1.4.1.1

  • Add indexer to RSTFile and add check for duplicates

v1.4.1

  • Optimizing the Equals method
  • Add "Load" and "Write" methods to support file path input

v1.4.0

  • Fixed a bug in version 1.3.3 (This bug causes the file contents to not be written out correctly)
  • Changed Framework to ".NET Standard 2.0" to be compatible with ".NET Framework" and ".NET Core"

v1.3.3 [Deprecated] 🙄

  • Add the RST file version enumeration

v1.3.2

  • Added a new RType extension function that returns the corresponding RType based on the input Version(int or byte)
  • Fixed some code comments
  • Fill in the missing Api documentation

v1.3.1

  • Change the get method for "DataOffset"

v1.3.0

  • Support RST v5
  • Fix some code
  • Correct some code comments

v1.2.1

  • Remove unnecessary code.

v1.2

  • Remove lazy loading mode.
  • Add the "SetConfig" method. // This is only applicable to RST files in version 2.1

v1.1

  • Add "Insert" method.

v1.0

  • Support for reading and writing RST.
  • Support loading RST files using lazy loading mode.
  • Add" Add", "Find", "Remove", "ReplaceAll" methods.
  • Add "RST Hash Algorithm".

🚀 Install

  • Install using NuGet Package Manager in Visual Studio.
  • .NET CLI : dotnet add package Noisrev.League.IO.RST

💡 Simple

using Noisrev.League.IO.RST;

var rst = RSTFile.Load("your rst file path");

License

FOSSA Status

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.