mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-11-27 10:06:53 -08:00
33 lines
966 B
C#
33 lines
966 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "ISC", Namespace = "", IsNullable = true)]
|
|
[Serializable]
|
|
public class ItemSaleConfig {
|
|
public ItemSaleConfig() { }
|
|
|
|
public ItemSaleConfig(ItemSaleConfig other) {
|
|
ItemID = other.ItemID;
|
|
CategoryID = other.CategoryID;
|
|
RarityID = other.RarityID;
|
|
Quantity = other.Quantity;
|
|
RewardItemID = other.RewardItemID;
|
|
}
|
|
|
|
[XmlElement(ElementName = "IID", IsNullable = true)]
|
|
public int? ItemID { get; set; }
|
|
|
|
[XmlElement(ElementName = "CID", IsNullable = true)]
|
|
public int? CategoryID { get; set; }
|
|
|
|
[XmlElement(ElementName = "RID", IsNullable = true)]
|
|
public int? RarityID { get; set; }
|
|
|
|
[XmlElement(ElementName = "QTY", IsNullable = false)]
|
|
public int Quantity { get; set; }
|
|
|
|
[XmlElement(ElementName = "RIID", IsNullable = false)]
|
|
public int RewardItemID { get; set; }
|
|
}
|