Maple2.File.Parser 2.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package Maple2.File.Parser --version 2.0.7
                    
NuGet\Install-Package Maple2.File.Parser -Version 2.0.7
                    
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" Version="2.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Maple2.File.Parser" Version="2.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Maple2.File.Parser" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Maple2.File.Parser --version 2.0.7
                    
#r "nuget: Maple2.File.Parser, 2.0.7"
                    
#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.
#addin nuget:?package=Maple2.File.Parser&version=2.0.7
                    
Install Maple2.File.Parser as a Cake Addin
#tool nuget:?package=Maple2.File.Parser&version=2.0.7
                    
Install Maple2.File.Parser as a Cake Tool

Maple2.File

Strongly typed MapleStory2 m2d file parsing

xblock Parsing Example:

using var reader = new M2dReader(EXPORTED_PATH);
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;
});

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 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 was computed.  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.  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.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Maple2.File.Parser:

Repository Stars
AlanMorel/MapleServer2
MapleStory 2 Emulator
Version Downloads Last updated
2.1.7 151 5/10/2024
2.1.6 140 5/9/2024
2.1.3 145 5/6/2024
2.0.23 328 9/8/2023
2.0.22 180 9/1/2023
2.0.21 171 8/27/2023
2.0.20 224 8/6/2023
2.0.19 190 7/2/2023
2.0.18 229 4/8/2023
2.0.17 280 3/2/2023
2.0.16 299 2/23/2023
2.0.15 356 12/10/2022
2.0.14 403 11/14/2022
2.0.13 372 11/11/2022
2.0.12 383 11/7/2022
2.0.11 352 11/7/2022
2.0.10 475 7/30/2022
2.0.9 480 7/10/2022
2.0.8 2,003 7/5/2022
2.0.7 474 6/29/2022
2.0.6 571 6/12/2022
2.0.5 459 5/7/2022
2.0.4 448 5/1/2022
2.0.2 464 4/30/2022
2.0.1 448 4/23/2022
2.0.0 2,402 12/31/2021
1.0.6 2,064 7/31/2021