forked from kOchirasu/Maple2.File
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System.Xml.Serialization; | ||
using M2dXmlGenerator; | ||
|
||
namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
||
// ./data/server/table/Server/enchantOptionTable.xml | ||
[XmlRoot("ms2")] | ||
public class EnchantOptionRoot { | ||
[XmlElement] public List<EnchantOption> option; | ||
} | ||
|
||
public partial class EnchantOption { | ||
[XmlAttribute] public int id; | ||
[XmlAttribute] public int slot; | ||
[XmlAttribute] public int grade; | ||
[XmlAttribute] public int rank; | ||
[XmlAttribute] public float rate; | ||
[XmlAttribute] public int minLv; | ||
[XmlAttribute] public int maxLv; | ||
[M2dArray] public int[] option = Array.Empty<int>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters