|
@@ -0,0 +1,188 @@
|
|
1
|
+using Newtonsoft.Json;
|
|
2
|
+
|
|
3
|
+namespace BlizzSharp.Data
|
|
4
|
+{
|
|
5
|
+ public class Item
|
|
6
|
+ {
|
|
7
|
+ [JsonProperty("id")]
|
|
8
|
+ public long Id { get; set; }
|
|
9
|
+
|
|
10
|
+ [JsonProperty("disenchantingSkillRank")]
|
|
11
|
+ public long DisenchantingSkillRank { get; set; }
|
|
12
|
+
|
|
13
|
+ [JsonProperty("description")]
|
|
14
|
+ public string Description { get; set; }
|
|
15
|
+
|
|
16
|
+ [JsonProperty("name")]
|
|
17
|
+ public string Name { get; set; }
|
|
18
|
+
|
|
19
|
+ [JsonProperty("icon")]
|
|
20
|
+ public string Icon { get; set; }
|
|
21
|
+
|
|
22
|
+ [JsonProperty("stackable")]
|
|
23
|
+ public long Stackable { get; set; }
|
|
24
|
+
|
|
25
|
+ [JsonProperty("itemBind")]
|
|
26
|
+ public long ItemBind { get; set; }
|
|
27
|
+
|
|
28
|
+ [JsonProperty("bonusStats")]
|
|
29
|
+ public BonusStat[] BonusStats { get; set; }
|
|
30
|
+
|
|
31
|
+ [JsonProperty("itemSpells")]
|
|
32
|
+ public object[] ItemSpells { get; set; }
|
|
33
|
+
|
|
34
|
+ [JsonProperty("buyPrice")]
|
|
35
|
+ public long BuyPrice { get; set; }
|
|
36
|
+
|
|
37
|
+ [JsonProperty("itemClass")]
|
|
38
|
+ public long ItemClass { get; set; }
|
|
39
|
+
|
|
40
|
+ [JsonProperty("itemSubClass")]
|
|
41
|
+ public long ItemSubClass { get; set; }
|
|
42
|
+
|
|
43
|
+ [JsonProperty("containerSlots")]
|
|
44
|
+ public long ContainerSlots { get; set; }
|
|
45
|
+
|
|
46
|
+ [JsonProperty("weaponInfo")]
|
|
47
|
+ public WeaponInfo WeaponInfo { get; set; }
|
|
48
|
+
|
|
49
|
+ [JsonProperty("inventoryType")]
|
|
50
|
+ public long InventoryType { get; set; }
|
|
51
|
+
|
|
52
|
+ [JsonProperty("equippable")]
|
|
53
|
+ public bool Equippable { get; set; }
|
|
54
|
+
|
|
55
|
+ [JsonProperty("itemLevel")]
|
|
56
|
+ public long ItemLevel { get; set; }
|
|
57
|
+
|
|
58
|
+ [JsonProperty("maxCount")]
|
|
59
|
+ public long MaxCount { get; set; }
|
|
60
|
+
|
|
61
|
+ [JsonProperty("maxDurability")]
|
|
62
|
+ public long MaxDurability { get; set; }
|
|
63
|
+
|
|
64
|
+ [JsonProperty("minFactionId")]
|
|
65
|
+ public long MinFactionId { get; set; }
|
|
66
|
+
|
|
67
|
+ [JsonProperty("minReputation")]
|
|
68
|
+ public long MinReputation { get; set; }
|
|
69
|
+
|
|
70
|
+ [JsonProperty("quality")]
|
|
71
|
+ public long Quality { get; set; }
|
|
72
|
+
|
|
73
|
+ [JsonProperty("sellPrice")]
|
|
74
|
+ public long SellPrice { get; set; }
|
|
75
|
+
|
|
76
|
+ [JsonProperty("requiredSkill")]
|
|
77
|
+ public long RequiredSkill { get; set; }
|
|
78
|
+
|
|
79
|
+ [JsonProperty("requiredLevel")]
|
|
80
|
+ public long RequiredLevel { get; set; }
|
|
81
|
+
|
|
82
|
+ [JsonProperty("requiredSkillRank")]
|
|
83
|
+ public long RequiredSkillRank { get; set; }
|
|
84
|
+
|
|
85
|
+ [JsonProperty("itemSource")]
|
|
86
|
+ public ItemSource ItemSource { get; set; }
|
|
87
|
+
|
|
88
|
+ [JsonProperty("baseArmor")]
|
|
89
|
+ public long BaseArmor { get; set; }
|
|
90
|
+
|
|
91
|
+ [JsonProperty("hasSockets")]
|
|
92
|
+ public bool HasSockets { get; set; }
|
|
93
|
+
|
|
94
|
+ [JsonProperty("isAuctionable")]
|
|
95
|
+ public bool IsAuctionable { get; set; }
|
|
96
|
+
|
|
97
|
+ [JsonProperty("armor")]
|
|
98
|
+ public long Armor { get; set; }
|
|
99
|
+
|
|
100
|
+ [JsonProperty("displayInfoId")]
|
|
101
|
+ public long DisplayInfoId { get; set; }
|
|
102
|
+
|
|
103
|
+ [JsonProperty("nameDescription")]
|
|
104
|
+ public string NameDescription { get; set; }
|
|
105
|
+
|
|
106
|
+ [JsonProperty("nameDescriptionColor")]
|
|
107
|
+ public string NameDescriptionColor { get; set; }
|
|
108
|
+
|
|
109
|
+ [JsonProperty("upgradable")]
|
|
110
|
+ public bool Upgradable { get; set; }
|
|
111
|
+
|
|
112
|
+ [JsonProperty("heroicTooltip")]
|
|
113
|
+ public bool HeroicTooltip { get; set; }
|
|
114
|
+
|
|
115
|
+ [JsonProperty("context")]
|
|
116
|
+ public string Context { get; set; }
|
|
117
|
+
|
|
118
|
+ [JsonProperty("bonusLists")]
|
|
119
|
+ public object[] BonusLists { get; set; }
|
|
120
|
+
|
|
121
|
+ [JsonProperty("availableContexts")]
|
|
122
|
+ public string[] AvailableContexts { get; set; }
|
|
123
|
+
|
|
124
|
+ [JsonProperty("bonusSummary")]
|
|
125
|
+ public BonusSummary BonusSummary { get; set; }
|
|
126
|
+
|
|
127
|
+ [JsonProperty("artifactId")]
|
|
128
|
+ public long ArtifactId { get; set; }
|
|
129
|
+ }
|
|
130
|
+
|
|
131
|
+ public class BonusStat
|
|
132
|
+ {
|
|
133
|
+ [JsonProperty("stat")]
|
|
134
|
+ public long Stat { get; set; }
|
|
135
|
+
|
|
136
|
+ [JsonProperty("amount")]
|
|
137
|
+ public long Amount { get; set; }
|
|
138
|
+ }
|
|
139
|
+
|
|
140
|
+ public class BonusSummary
|
|
141
|
+ {
|
|
142
|
+ [JsonProperty("defaultBonusLists")]
|
|
143
|
+ public object[] DefaultBonusLists { get; set; }
|
|
144
|
+
|
|
145
|
+ [JsonProperty("chanceBonusLists")]
|
|
146
|
+ public object[] ChanceBonusLists { get; set; }
|
|
147
|
+
|
|
148
|
+ [JsonProperty("bonusChances")]
|
|
149
|
+ public object[] BonusChances { get; set; }
|
|
150
|
+ }
|
|
151
|
+
|
|
152
|
+ public class ItemSource
|
|
153
|
+ {
|
|
154
|
+ [JsonProperty("sourceId")]
|
|
155
|
+ public long SourceId { get; set; }
|
|
156
|
+
|
|
157
|
+ [JsonProperty("sourceType")]
|
|
158
|
+ public string SourceType { get; set; }
|
|
159
|
+ }
|
|
160
|
+
|
|
161
|
+ public class WeaponInfo
|
|
162
|
+ {
|
|
163
|
+ [JsonProperty("damage")]
|
|
164
|
+ public Damage Damage { get; set; }
|
|
165
|
+
|
|
166
|
+ [JsonProperty("weaponSpeed")]
|
|
167
|
+ public double WeaponSpeed { get; set; }
|
|
168
|
+
|
|
169
|
+ [JsonProperty("dps")]
|
|
170
|
+ public double Dps { get; set; }
|
|
171
|
+ }
|
|
172
|
+
|
|
173
|
+ public class Damage
|
|
174
|
+ {
|
|
175
|
+ [JsonProperty("min")]
|
|
176
|
+ public long Min { get; set; }
|
|
177
|
+
|
|
178
|
+ [JsonProperty("max")]
|
|
179
|
+ public long Max { get; set; }
|
|
180
|
+
|
|
181
|
+ [JsonProperty("exactMin")]
|
|
182
|
+ public double ExactMin { get; set; }
|
|
183
|
+
|
|
184
|
+ [JsonProperty("exactMax")]
|
|
185
|
+ public double ExactMax { get; set; }
|
|
186
|
+ }
|
|
187
|
+
|
|
188
|
+}
|