42 lines
1.2 KiB
C#
Raw Normal View History

2021-09-10 17:57:24 +01:00
using System;
using System.Collections.Generic;
namespace AssortValidator.Common.Models
{
2022-01-12 15:06:36 +00:00
public class AssortRoot
{
public int err { get; set; }
public object errmsg { get; set; }
public Assort data { get; set; }
}
2021-09-10 17:57:24 +01:00
public class Assort
{
2022-01-12 15:06:36 +00:00
public int nextResupply { get; set; }
2021-09-10 17:57:24 +01:00
public List<Item> items { get; set; }
public Dictionary<string, List<List<BarterDetails>>> barter_scheme { get; set; }
public Dictionary<string, int> loyal_level_items { get; set; }
2022-01-12 15:06:36 +00:00
public class BarterDetails
{
public double count { get; set; }
public string _tpl { get; set; }
}
2021-09-10 17:57:24 +01:00
2022-01-12 15:06:36 +00:00
public class Item
{
public string _id { get; set; }
public string _tpl { get; set; }
public string parentId { get; set; }
public string slotId { get; set; }
public Upd upd { get; set; }
}
2021-09-10 17:57:24 +01:00
2022-01-12 15:06:36 +00:00
public class Upd
{
public int? BuyRestrictionMax { get; set; }
public int BuyRestrictionCurrent { get; set; }
public int StackObjectsCount { get; set; }
}
2021-09-10 17:57:24 +01:00
}
2022-01-12 15:06:36 +00:00
}