update assort class

This commit is contained in:
Chomp 2022-01-12 15:06:36 +00:00
parent db4d73bf4c
commit 39bc89fce1

View File

@ -1,19 +1,25 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AssortValidator.Common.Models
{
public class AssortRoot
{
public int err { get; set; }
public object errmsg { get; set; }
public Assort data { get; set; }
}
public class Assort
{
public int nextResupply { get; set; }
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 double count { get; set; }
public string _tpl { get; set; }
}
@ -28,9 +34,9 @@ namespace AssortValidator.Common.Models
public class Upd
{
public bool UnlimitedCount { get; set; }
public int? StackObjectsCount { get; set; }
public int? BuyRestrictionMax { get; set; }
public int? BuyRestrictionCurrent { get; set; }
public int BuyRestrictionCurrent { get; set; }
public int StackObjectsCount { get; set; }
}
}
}