This is a library for parsing and editing RST files of League of Legends.
Improved performance for Read/Write, Less time/op and lower memory allocation. ^^
Method | Runtime | Mean | Allocated |
---|---|---|---|
(Version 4) | |||
Open | .NET 8.0 | 56.04 ms | 24 MB |
Write | .NET 8.0 | 38.48 ms | 28 MB |
(Version 3) | |||
Open | .NET 6.0 | 74.13 ms | 36 MB |
Write | .NET 6.0 | 52.20 ms | 30 MB |
The file is used to store strings of in-game text.
- 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.
- Use the NuGet Libaray
- Install via NuGet Package Manager in Visual Studio
- .NET CLI :
dotnet add package Noisrev.League.IO.RST
- Then load a RSTFile using:
using Noisrev.League.IO.RST;
var rst = RSTFile.Load("your rst file path");
For more information, refer to Getting Started.