Skip to content

Commit 323c883

Browse files
Add MapParser sources and bump C# to 12
Include MapParser-related source files and dependencies into the Unity project, and raise LangVersion from 10 to 12. Added a ProjectReference to Maple2.File.Generator as an analyzer (no reference output) and included tools and parser files (Sanitizer, MapParser, Xml/Map/*.cs, Xml/String files, Enum/*.cs) so the Unity package can compile map/XBlock parsing code. Also update .gitignore to ignore .claude/settings.local.json.
1 parent 8de75de commit 323c883

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,3 +330,4 @@ ASALocalRun/
330330
.mfractor/
331331
.env
332332
payload.json
333+
.claude/settings.local.json

Maple2.File.Unity/Maple2.File.Unity.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<PackageId>Maple2.File.Unity</PackageId>
55
<TargetFramework>netstandard2.1</TargetFramework>
6-
<LangVersion>10</LangVersion>
6+
<LangVersion>12</LangVersion>
77
<Title>MapleStory2 File Parser for Unity</Title>
88
<Authors>Tadeucci</Authors>
99
<Description>Lightweight MapleStory2 m2d XBlock Parser for Unity</Description>
@@ -17,6 +17,7 @@
1717
<ItemGroup>
1818
<ProjectReference Include="..\Maple2.File.IO\Maple2.File.IO.csproj" />
1919
<ProjectReference Include="..\Maple2.File.Flat\Maple2.File.Flat.csproj" />
20+
<ProjectReference Include="..\Maple2.File.Generator\Maple2.File.Generator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="all" SkipGetTargetFrameworkProperties="true" />
2021
</ItemGroup>
2122

2223
<!-- Include only XBlock-related files from Parser -->
@@ -34,6 +35,14 @@
3435
<!-- Tools (needed by Flat and MapXBlock) -->
3536
<Compile Include="..\Maple2.File.Parser\Tools\HierarchyMap.cs" Link="Tools\HierarchyMap.cs" />
3637
<Compile Include="..\Maple2.File.Parser\Tools\ILEmitter.cs" Link="Tools\ILEmitter.cs" />
38+
<Compile Include="..\Maple2.File.Parser\Tools\Sanitizer.cs" Link="Tools\Sanitizer.cs" />
39+
40+
<!-- MapParser and dependencies -->
41+
<Compile Include="..\Maple2.File.Parser\MapParser.cs" Link="MapParser.cs" />
42+
<Compile Include="..\Maple2.File.Parser\Xml\Map\*.cs" Link="Xml\Map\%(Filename)%(Extension)" />
43+
<Compile Include="..\Maple2.File.Parser\Xml\String\StringMapping.cs" Link="Xml\String\StringMapping.cs" />
44+
<Compile Include="..\Maple2.File.Parser\Xml\String\Key.cs" Link="Xml\String\Key.cs" />
45+
<Compile Include="..\Maple2.File.Parser\Enum\*.cs" Link="Enum\%(Filename)%(Extension)" />
3746
</ItemGroup>
3847

3948
</Project>

0 commit comments

Comments
 (0)