Maple2.File.Parser.Tadeucci 2.2.5

dotnet add package Maple2.File.Parser.Tadeucci --version 2.2.5                
NuGet\Install-Package Maple2.File.Parser.Tadeucci -Version 2.2.5                
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="Maple2.File.Parser.Tadeucci" Version="2.2.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Maple2.File.Parser.Tadeucci --version 2.2.5                
#r "nuget: Maple2.File.Parser.Tadeucci, 2.2.5"                
#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 Maple2.File.Parser.Tadeucci as a Cake Addin
#addin nuget:?package=Maple2.File.Parser.Tadeucci&version=2.2.5

// Install Maple2.File.Parser.Tadeucci as a Cake Tool
#tool nuget:?package=Maple2.File.Parser.Tadeucci&version=2.2.5                

Maple2.File

Strongly typed MapleStory2 m2d file parsing

xblock Parsing Example:

using var reader = new M2dReader(EXPORTED_PATH);
var index = new FlatTypeIndex(reader);
var parser = new XBlockParser(reader, index);
parser.Include(typeof(ISpawnPoint));
parser.Include(typeof(IMS2TriggerObject));
parser.Include(typeof(IPortal));
...

var results = new Dictionary<string, MapEntityMetadata>();
parser.Parse((xblock, entities) => {
    var metadata = new MapEntityMetadata();
    foreach (IMapEntity entity in entities) {
        switch (entity) {
            case ISpawnPointPC spawnPoint:
                ...
            case ISpawnPointNPC npcSpawnPoint:
                ...
            default:
                ...
        }
    }
    results[xblock] = metadata;
});

xblock Parallel Parsing Example:

using var reader = new M2dReader(EXPORTED_PATH);
var index = new FlatTypeIndex(reader);
var parser = new XBlockParser(reader, index);

var results = new Dictionary<string, MapEntityMetadata>();
parser.Parallel().ForAll(map => {
    var metadata = new MapEntityMetadata();
    foreach (IMapEntity entity in map.entities) {
        switch (entity) {
            case ISpawnPointPC spawnPoint:
                ...
            case ISpawnPointNPC npcSpawnPoint:
                ...
            default:
                ...
        }
    }
    results[map.xblock] = metadata;
});

xml Parsing Example:

using var reader = new M2dReader(XML_PATH);

// LOCALE: "TW", "TH", "NA", "CN", "JP", "KR"
// ENV:    "Dev", "Qa", "DevStage", "Stage", "Live"
Filter.Load(reader, LOCALE, ENV);
var parser = new ItemParser(reader);

foreach ((int id, string name, ItemData data) in parser.Parse()) {
    // Extract fields from ItemData that are needed.
}

xblock CliExplorer Example:

using var reader = new M2dReader(EXPORTED_PATH);
var index = new FlatTypeIndex(reader);
index.CliExplorer();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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
2.2.5 196 24 days ago
2.2.4 353 a month ago
2.2.3 168 2 months ago
2.2.2 92 2 months ago
2.2.1 103 2 months ago
2.2.0 204 4 months ago
2.1.33 137 5 months ago
2.1.32 197 6 months ago
2.1.31 101 6 months ago
2.1.30 369 6 months ago
2.1.29 120 6 months ago
2.1.28 151 6 months ago
2.1.27 185 7 months ago
2.1.26 170 8 months ago
2.1.25 124 8 months ago
2.1.24 108 8 months ago
2.1.23 113 8 months ago
2.1.22 277 9 months ago
2.1.21 119 9 months ago
2.1.20 187 9 months ago
2.1.19 138 9 months ago
2.1.18 174 10 months ago
2.1.17 119 10 months ago
2.1.16 189 10 months ago
2.1.15 215 5/29/2024
2.1.14 158 5/27/2024
2.1.13 116 5/27/2024
2.1.12 116 5/27/2024
2.1.11 125 5/23/2024
2.1.10 134 5/23/2024
2.1.9 239 5/21/2024
2.1.8 196 5/17/2024
2.1.7 130 5/10/2024
2.1.6 249 5/8/2024
2.1.5 161 5/6/2024
2.1.4 160 5/5/2024
2.1.3 160 5/3/2024
2.1.2 135 5/1/2024
2.1.1 152 4/29/2024
2.1.0 124 4/28/2024