mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
33 lines
776 B
C#
33 lines
776 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "IRE", Namespace = "")]
|
|
[Serializable]
|
|
public class ItemDataRelationship {
|
|
public ItemDataRelationship() { }
|
|
|
|
public ItemDataRelationship(ItemDataRelationship other) {
|
|
Type = other.Type;
|
|
ItemId = other.ItemId;
|
|
Weight = other.Weight;
|
|
Quantity = other.Quantity;
|
|
MaxQuantity = other.MaxQuantity;
|
|
}
|
|
|
|
[XmlElement(ElementName = "t")]
|
|
public string Type;
|
|
|
|
[XmlElement(ElementName = "id")]
|
|
public int ItemId;
|
|
|
|
[XmlElement(ElementName = "wt")]
|
|
public int Weight;
|
|
|
|
[XmlElement(ElementName = "q")]
|
|
public int Quantity;
|
|
|
|
[XmlElement(ElementName = "mxq")]
|
|
public int? MaxQuantity;
|
|
}
|