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.
* Parse Meret Market, Shop UGC * bump up version * jk .28
- Loading branch information
Showing
5 changed files
with
79 additions
and
1 deletion.
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
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,31 @@ | ||
using System.Xml.Serialization; | ||
|
||
namespace Maple2.File.Parser.Xml.Table.Server; | ||
|
||
// ./data/server/table/Server/shop_merat.xml | ||
[XmlRoot("ms2")] | ||
public class ShopMeretRoot { | ||
[XmlElement] public List<ShopMeret> item; | ||
} | ||
|
||
public partial class ShopMeret { | ||
[XmlAttribute] public int sn; | ||
[XmlAttribute] public int id; | ||
[XmlAttribute] public string category = string.Empty; | ||
[XmlAttribute] public long price; | ||
[XmlAttribute] public long price_1; | ||
[XmlAttribute] public long price_7; | ||
[XmlAttribute] public long price_30; | ||
[XmlAttribute] public long salePrice; | ||
[XmlAttribute] public long salePrice_1; | ||
[XmlAttribute] public long salePrice_7; | ||
[XmlAttribute] public long salePrice_30; | ||
[XmlAttribute] public int defPriceIndex; | ||
[XmlAttribute] public short grade; | ||
[XmlAttribute] public int saleTag; | ||
[XmlAttribute] public bool visible; | ||
[XmlAttribute] public string createDate = string.Empty; | ||
[XmlAttribute] public int chartOrder; | ||
[XmlAttribute] public int buyLimit; | ||
[XmlAttribute] public int buyLimitMax; | ||
} |
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