Maple.Models.Templates.Runtime
0.2.1
dotnet add package Maple.Models.Templates.Runtime --version 0.2.1
NuGet\Install-Package Maple.Models.Templates.Runtime -Version 0.2.1
<PackageReference Include="Maple.Models.Templates.Runtime" Version="0.2.1" />
<PackageVersion Include="Maple.Models.Templates.Runtime" Version="0.2.1" />
<PackageReference Include="Maple.Models.Templates.Runtime" />
paket add Maple.Models.Templates.Runtime --version 0.2.1
#r "nuget: Maple.Models.Templates.Runtime, 0.2.1"
#:package Maple.Models.Templates.Runtime@0.2.1
#addin nuget:?package=Maple.Models.Templates.Runtime&version=0.2.1
#tool nuget:?package=Maple.Models.Templates.Runtime&version=0.2.1
Maple.Models
MapleStory model types: immutable DTOs and catalog records, plus mutable runtime state for persistence and editors. Cross-platform, trimmable and AOT/NativeAOT compatible.
⭐ Please star this project if you like it. ⭐
Example | Example Catalogue | Public API Reference
Packages
All packages are cross-platform, trimmable and AOT/NativeAOT compatible.
Example
// Create a color from a raw WZ ARGB value (e.g. from item data)
var color = ArgbColor.FromInt32(-16777216); // 0xFF000000 = opaque black
Console.WriteLine(color.ToHexString()); // #FF000000
// Build the base attribute stats contributed by an equip
var stats = new CharacterBaseStats(STR: 10, DEX: 5, INT: 0, LUK: 3);
Console.WriteLine($"STR: {stats.STR} DEX: {stats.DEX}"); // STR: 10 DEX: 5
For more examples see Example Catalogue.
Benchmarks
Benchmarks.
Detailed Benchmarks
Comparison Benchmarks
TestBench Benchmark Results
Results will be populated here after running benchmarks locally.
Example Catalogue
The following examples are available in ReadMeTest.cs.
Example - Empty
// Create a color from a raw WZ ARGB value (e.g. from item data)
var color = ArgbColor.FromInt32(-16777216); // 0xFF000000 = opaque black
Console.WriteLine(color.ToHexString()); // #FF000000
// Build the base attribute stats contributed by an equip
var stats = new CharacterBaseStats(STR: 10, DEX: 5, INT: 0, LUK: 3);
Console.WriteLine($"STR: {stats.STR} DEX: {stats.DEX}"); // STR: 10 DEX: 5
Public API Reference
See docs/PublicApi.md for the full generated public API surface.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Maple.Models (>= 0.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.