123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- using Newtonsoft.Json;
-
- namespace BlizzSharp.Data
- {
- public class Item
- {
- [JsonProperty("id")]
- public long Id { get; set; }
-
- [JsonProperty("disenchantingSkillRank")]
- public long DisenchantingSkillRank { get; set; }
-
- [JsonProperty("description")]
- public string Description { get; set; }
-
- [JsonProperty("name")]
- public string Name { get; set; }
-
- [JsonProperty("icon")]
- public string Icon { get; set; }
-
- [JsonProperty("stackable")]
- public long Stackable { get; set; }
-
- [JsonProperty("itemBind")]
- public long ItemBind { get; set; }
-
- [JsonProperty("bonusStats")]
- public BonusStat[] BonusStats { get; set; }
-
- [JsonProperty("itemSpells")]
- public object[] ItemSpells { get; set; }
-
- [JsonProperty("buyPrice")]
- public long BuyPrice { get; set; }
-
- [JsonProperty("itemClass")]
- public long ItemClass { get; set; }
-
- [JsonProperty("itemSubClass")]
- public long ItemSubClass { get; set; }
-
- [JsonProperty("containerSlots")]
- public long ContainerSlots { get; set; }
-
- [JsonProperty("weaponInfo")]
- public WeaponInfo WeaponInfo { get; set; }
-
- [JsonProperty("inventoryType")]
- public long InventoryType { get; set; }
-
- [JsonProperty("equippable")]
- public bool Equippable { get; set; }
-
- [JsonProperty("itemLevel")]
- public long ItemLevel { get; set; }
-
- [JsonProperty("maxCount")]
- public long MaxCount { get; set; }
-
- [JsonProperty("maxDurability")]
- public long MaxDurability { get; set; }
-
- [JsonProperty("minFactionId")]
- public long MinFactionId { get; set; }
-
- [JsonProperty("minReputation")]
- public long MinReputation { get; set; }
-
- [JsonProperty("quality")]
- public long Quality { get; set; }
-
- [JsonProperty("sellPrice")]
- public long SellPrice { get; set; }
-
- [JsonProperty("requiredSkill")]
- public long RequiredSkill { get; set; }
-
- [JsonProperty("requiredLevel")]
- public long RequiredLevel { get; set; }
-
- [JsonProperty("requiredSkillRank")]
- public long RequiredSkillRank { get; set; }
-
- [JsonProperty("itemSource")]
- public ItemSource ItemSource { get; set; }
-
- [JsonProperty("baseArmor")]
- public long BaseArmor { get; set; }
-
- [JsonProperty("hasSockets")]
- public bool HasSockets { get; set; }
-
- [JsonProperty("isAuctionable")]
- public bool IsAuctionable { get; set; }
-
- [JsonProperty("armor")]
- public long Armor { get; set; }
-
- [JsonProperty("displayInfoId")]
- public long DisplayInfoId { get; set; }
-
- [JsonProperty("nameDescription")]
- public string NameDescription { get; set; }
-
- [JsonProperty("nameDescriptionColor")]
- public string NameDescriptionColor { get; set; }
-
- [JsonProperty("upgradable")]
- public bool Upgradable { get; set; }
-
- [JsonProperty("heroicTooltip")]
- public bool HeroicTooltip { get; set; }
-
- [JsonProperty("context")]
- public string Context { get; set; }
-
- [JsonProperty("bonusLists")]
- public object[] BonusLists { get; set; }
-
- [JsonProperty("availableContexts")]
- public string[] AvailableContexts { get; set; }
-
- [JsonProperty("bonusSummary")]
- public BonusSummary BonusSummary { get; set; }
-
- [JsonProperty("artifactId")]
- public long ArtifactId { get; set; }
- }
-
- public class BonusStat
- {
- [JsonProperty("stat")]
- public long Stat { get; set; }
-
- [JsonProperty("amount")]
- public long Amount { get; set; }
- }
-
- public class BonusSummary
- {
- [JsonProperty("defaultBonusLists")]
- public object[] DefaultBonusLists { get; set; }
-
- [JsonProperty("chanceBonusLists")]
- public object[] ChanceBonusLists { get; set; }
-
- [JsonProperty("bonusChances")]
- public object[] BonusChances { get; set; }
- }
-
- public class ItemSource
- {
- [JsonProperty("sourceId")]
- public long SourceId { get; set; }
-
- [JsonProperty("sourceType")]
- public string SourceType { get; set; }
- }
-
- public class WeaponInfo
- {
- [JsonProperty("damage")]
- public Damage Damage { get; set; }
-
- [JsonProperty("weaponSpeed")]
- public double WeaponSpeed { get; set; }
-
- [JsonProperty("dps")]
- public double Dps { get; set; }
- }
-
- public class Damage
- {
- [JsonProperty("min")]
- public long Min { get; set; }
-
- [JsonProperty("max")]
- public long Max { get; set; }
-
- [JsonProperty("exactMin")]
- public double ExactMin { get; set; }
-
- [JsonProperty("exactMax")]
- public double ExactMax { get; set; }
- }
-
- }
|