mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
29 lines
688 B
C#
29 lines
688 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "IS", Namespace = "")]
|
|
[Serializable]
|
|
public class ItemStat {
|
|
public ItemStat() { }
|
|
|
|
public ItemStat(ItemStat other) {
|
|
ItemStatID = other.ItemStatID;
|
|
Name = other.Name;
|
|
Value = other.Value;
|
|
DataType = other.DataType;
|
|
}
|
|
|
|
[XmlElement(ElementName = "ID")]
|
|
public int ItemStatID { get; set; }
|
|
|
|
[XmlElement(ElementName = "N")]
|
|
public string Name { get; set; }
|
|
|
|
[XmlElement(ElementName = "V")]
|
|
public string Value { get; set; }
|
|
|
|
[XmlElement(ElementName = "DTI")]
|
|
public DataTypeInfo DataType { get; set; }
|
|
}
|