Skip to content

Commit

Permalink
Fix AutoDoc for MPL2 chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Luzifix committed Jul 19, 2024
1 parent 513787a commit fe9c4e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Docs/WDT.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ N/A = Not in this file for this expansion<br>
|-----|-----|-----|-----|-----|-----|-----|-----|
|MVER||||||||
|MPLT|N/A|N/A|N/A||N/A|N/A|N/A|
|MPL2|N/A|N/A|N/A|**NYI**||||
|MPL2|N/A|N/A||||||
|MPL3|N/A|N/A|N/A|N/A||||
|MSLT|**NYI**|**NYI**|**NYI**|**NYI**|**NYI**|**NYI**|**NYI**|
|MTEX|N/A|N/A||||||
Expand Down
1 change: 1 addition & 0 deletions Warcraft.NET/Attribute/AutoDocAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ internal static class AutoDocChunkVersionHelper
internal const AutoDocChunkVersion VersionAfterLegion = AutoDocChunkVersion.BfA | AutoDocChunkVersion.SL | AutoDocChunkVersion.DF | AutoDocChunkVersion.TWW;
internal const AutoDocChunkVersion VersionAfterBfA = AutoDocChunkVersion.SL | AutoDocChunkVersion.DF | AutoDocChunkVersion.TWW;
internal const AutoDocChunkVersion VersionAfterSL = AutoDocChunkVersion.DF | AutoDocChunkVersion.TWW;

internal const AutoDocChunkVersion VersionBeforeLegion = AutoDocChunkVersion.LK | AutoDocChunkVersion.WoD;
internal const AutoDocChunkVersion VersionBeforeBfA = AutoDocChunkVersion.LK | AutoDocChunkVersion.WoD | AutoDocChunkVersion.Legion;
internal const AutoDocChunkVersion VersionBeforeSL = AutoDocChunkVersion.LK | AutoDocChunkVersion.WoD | AutoDocChunkVersion.Legion | AutoDocChunkVersion.BfA;
Expand Down
2 changes: 1 addition & 1 deletion Warcraft.NET/Files/WDT/Chunks/Legion/MPL2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Warcraft.NET.Files.WDT.Chunks.Legion
/// <summary>
/// MPL2 Chunk - Contains Legion point light information
/// </summary>
[AutoDocChunk(AutoDocChunkVersionHelper.VersionAfterBfA, AutoDocChunkVersionHelper.VersionBeforeBfA)]
[AutoDocChunk(AutoDocChunkVersionHelper.VersionAfterWoD, AutoDocChunkVersionHelper.VersionBeforeLegion)]
public class MPL2 : IIFFChunk, IBinarySerializable
{
/// <summary>
Expand Down

0 comments on commit fe9c4e2

Please sign in to comment.