81 lines
2.1 KiB
C#
Raw Permalink Normal View History

2021-09-19 18:29:16 +01:00
using System.Collections.Generic;
namespace MarketPriceLookup.Common.Models
{
public class ItemsLibRoot
{
public List<Dictionary<string, ItemLookup>> items { get; set; }
}
public class ItemLookup
{
public string _id { get; set; }
public string _name { get; set; }
public string _parent { get; set; }
public string _type { get; set; }
public Props _props { get; set; }
2023-02-05 11:57:03 +00:00
public string BackgroundColor { get; set; }
2021-09-19 18:29:16 +01:00
}
public class Props
{
public string Name { get; set; }
public string ShortName { get; set; }
public string Description { get; set; }
public List<Chamber> Chambers { get; set; }
public List<Slot> Slots { get; set; }
public string defAmmo { get; set; }
2023-02-05 11:57:03 +00:00
public int LootExperience { get; set; }
public int ExamineExperience { get; set; }
public bool CanSellOnRagfair { get;set;}
public List<StackSlot> StackSlots { get ; set; }
2021-09-19 18:29:16 +01:00
}
public class Chamber
{
public string _name { get; set; }
public string _id { get; set; }
public string _parent { get; set; }
public ChamberProps _props { get; set; }
public bool _required { get; set; }
public bool _mergeSlotWithChildren { get; set; }
public string _proto { get; set; }
}
public class Slot
{
public string _name { get; set; }
public bool _required { get; set; }
}
public class ChamberProps
{
public List<Filter> filters { get; set; }
}
public class Filter
{
public List<string> filter { get; set; }
}
public class StackSlot
{
public string _name { get; set; }
public string _id { get; set; }
public string _parent { get; set; }
public int _max_count { get; set; }
public StackSlotProps _props { get; set; }
public string _proto { get; set; }
}
public class StackSlotProps
{
public List<StackSlotFilter> filters { get; set; }
}
public class StackSlotFilter
{
public List<string> Filter { get; set; }
}
2021-09-19 18:29:16 +01:00
}