Noisrev.League.IO.RST
3.1.1
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
<PackageReference Include="Noisrev.League.IO.RST" Version="3.1.1" />
paket add Noisrev.League.IO.RST --version 3.1.1
#r "nuget: Noisrev.League.IO.RST, 3.1.1"
// 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.
✨ 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
- Fix a bug (https://github.com/Noisrev/Noisrev.League.IO.RST/issues/4) where the end byte of the written string is not 0
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
Product | Versions 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. |
-
.NETFramework 4.6.1
- Standart.Hash.xxHash (>= 3.1.0)
-
.NETStandard 2.0
- Standart.Hash.xxHash (>= 3.1.0)
-
net5.0
- Standart.Hash.xxHash (>= 4.0.5)
-
net6.0
- Standart.Hash.xxHash (>= 4.0.5)
-
net7.0
- Standart.Hash.xxHash (>= 4.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
4.0.0-rc2 | 98 | 8/2/2023 | |
4.0.0-rc1 | 100 | 7/26/2023 | |
3.1.2 | 384 | 1/14/2023 | |
3.1.1 | 302 | 1/13/2023 | |
3.1.0 | 413 | 10/16/2022 | |
3.0.0 | 453 | 5/15/2022 | |
2.0.0 | 355 | 12/13/2021 | |
1.4.1.2 | 349 | 12/7/2021 | |
1.4.1.1 | 339 | 12/7/2021 | |
1.4.1 | 332 | 12/7/2021 | |
1.4.0 | 331 | 11/30/2021 | |
1.3.2 | 319 | 11/29/2021 | |
1.3.1 | 364 | 10/5/2021 | |
1.3.0 | 352 | 9/3/2021 | |
1.2.1 | 355 | 7/8/2021 | |
1.2.0 | 348 | 7/8/2021 | |
1.1.0 | 439 | 7/3/2021 | |
1.0.0 | 508 | 7/2/2021 |