37 lines
965 B
C#
Raw Normal View History

2021-09-10 17:57:24 +01:00
using System;
using System.Collections.Generic;
using System.Text;
namespace AssortValidator.Common.Models
{
public class Assort
{
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; }
}
public class BarterDetails
{
public int count { get; set; }
public string _tpl { get; set; }
}
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; }
}
public class Upd
{
public bool UnlimitedCount { get; set; }
public int? StackObjectsCount { get; set; }
public int? BuyRestrictionMax { get; set; }
public int? BuyRestrictionCurrent { get; set; }
}
}