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
All packages are cross-platform, trimmable and AOT/NativeAOT compatible.
// 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: 5For more examples see Example Catalogue.
Benchmarks.
The following examples are available in ReadMeTest.cs.
// 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: 5See docs/PublicApi.md for the full generated public API surface.