sodoff/src/Schema/StoreData.cs
Robert Paciorek c7b3a74390 use ItemService for store and itemId in store.xml
- replace full items def in store.xml by item id
- load items def from items.xml (via ItemService) in StoreService constructor
2023-09-18 14:01:24 +02:00

26 lines
580 B
C#

using System.Xml.Serialization;
namespace sodoff.Schema;
[XmlRoot(ElementName = "StoreData", Namespace = "")]
[Serializable]
public class StoreData {
[XmlElement(ElementName = "i")]
public int Id;
[XmlElement(ElementName = "s")]
public string StoreName;
[XmlElement(ElementName = "d")]
public string Description;
[XmlElement(ElementName = "ii")]
public int[] ItemId;
[XmlElement(ElementName = "ss")]
public ItemsInStoreDataSale[] SalesAtStore;
[XmlElement(ElementName = "pitem")]
public PopularStoreItem[] PopularItems;
}