update assort class
This commit is contained in:
parent
db4d73bf4c
commit
39bc89fce1
@ -1,19 +1,25 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace AssortValidator.Common.Models
|
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 class Assort
|
||||||
{
|
{
|
||||||
|
public int nextResupply { get; set; }
|
||||||
public List<Item> items { get; set; }
|
public List<Item> items { get; set; }
|
||||||
public Dictionary<string, List<List<BarterDetails>>> barter_scheme { get; set; }
|
public Dictionary<string, List<List<BarterDetails>>> barter_scheme { get; set; }
|
||||||
public Dictionary<string, int> loyal_level_items { get; set; }
|
public Dictionary<string, int> loyal_level_items { get; set; }
|
||||||
}
|
|
||||||
|
|
||||||
public class BarterDetails
|
public class BarterDetails
|
||||||
{
|
{
|
||||||
public int count { get; set; }
|
public double count { get; set; }
|
||||||
public string _tpl { get; set; }
|
public string _tpl { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,9 +34,9 @@ namespace AssortValidator.Common.Models
|
|||||||
|
|
||||||
public class Upd
|
public class Upd
|
||||||
{
|
{
|
||||||
public bool UnlimitedCount { get; set; }
|
|
||||||
public int? StackObjectsCount { get; set; }
|
|
||||||
public int? BuyRestrictionMax { get; set; }
|
public int? BuyRestrictionMax { get; set; }
|
||||||
public int? BuyRestrictionCurrent { get; set; }
|
public int BuyRestrictionCurrent { get; set; }
|
||||||
|
public int StackObjectsCount { get; set; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user