mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00

* update items and dragons id on import * check for viking name unique * add unique constraints in database * add simple import/export html form for localhosted srvers
23 lines
485 B
C#
23 lines
485 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace sodoff.Schema;
|
|
|
|
[XmlRoot(ElementName = "StableData", Namespace = "")]
|
|
[Serializable]
|
|
public class StableData {
|
|
[XmlElement(ElementName = "Name")]
|
|
public string Name;
|
|
|
|
[XmlElement(ElementName = "ID")]
|
|
public int ID;
|
|
|
|
[XmlElement(ElementName = "ItemID")]
|
|
public int ItemID;
|
|
|
|
[XmlElement(ElementName = "InventoryID")]
|
|
public int InventoryID;
|
|
|
|
[XmlElement(ElementName = "Nests")]
|
|
public List<NestData> NestList;
|
|
}
|