Skip to content

Commit 40aa4e1

Browse files
Add summonNpcIDs parsing to NPC AiInfo
Parse the comma-separated summonNpcIDs attribute from the <aiInfo> XML tag, which defines which NPCs the AI can summon. Bump package version to 2.3.10. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e4b18d8 commit 40aa4e1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Maple2.File.Parser/Maple2.File.Parser.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PackageTags>MapleStory2, File, Parser, m2d, xml</PackageTags>
1414
<!-- Use following lines to write the generated files to disk. -->
1515
<EmitCompilerGeneratedFiles Condition=" '$(Configuration)' == 'Debug' ">true</EmitCompilerGeneratedFiles>
16-
<PackageVersion>2.3.9</PackageVersion>
16+
<PackageVersion>2.3.10</PackageVersion>
1717
<TargetFramework>net8.0</TargetFramework>
1818
<PackageReadmeFile>README.md</PackageReadmeFile>
1919
<ImplicitUsings>enable</ImplicitUsings>
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
using System.Xml.Serialization;
1+
using System.Xml.Serialization;
2+
using M2dXmlGenerator;
23

34
namespace Maple2.File.Parser.Xml.Npc;
45

5-
public class AiInfo {
6+
public partial class AiInfo {
67
[XmlAttribute] public string path = string.Empty;
8+
[M2dArray] public int[] summonNpcIDs = [];
79
}

0 commit comments

Comments
 (0)