Skip to content

Commit 5618dad

Browse files
author
Justin Skiles
committed
Fixed nuget metadata.
Fixed wrong data types on some hero info.
1 parent bbbff84 commit 5618dad

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

src/SourceSchemaParser/DOTA2/DotaHeroSchemaItem.cs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace SourceSchemaParser.DOTA2
66
internal class DotaHeroSchemaItem
77
{
88
[JsonProperty("HeroID")]
9-
public int HeroId { get; set; }
9+
public uint HeroId { get; set; }
1010

1111
public string Name { get; set; }
1212

@@ -133,73 +133,73 @@ internal class DotaHeroSchemaItem
133133
public string AttackCapabilities { get; set; }
134134

135135
[JsonProperty("AttackDamageMin")]
136-
public int AttackDamageMin { get; set; }
136+
public uint AttackDamageMin { get; set; }
137137

138138
[JsonProperty("AttackDamageMax")]
139-
public int AttackDamageMax { get; set; }
139+
public uint AttackDamageMax { get; set; }
140140

141141
[JsonProperty("AttackDamageType")]
142142
public string AttackDamageType { get; set; }
143143

144144
[JsonProperty("AttackRate")]
145145
public double AttackRate { get; set; }
146146

147-
[JsonProperty("AttackAnimationPoint")]
148-
public double AttackAnimationPoint { get; set; }
147+
[JsonProperty("AttackAnimationPouint")]
148+
public double AttackAnimationPouint { get; set; }
149149

150150
[JsonProperty("AttackAcquisitionRange")]
151-
public int AttackAcquisitionRange { get; set; }
151+
public uint AttackAcquisitionRange { get; set; }
152152

153153
[JsonProperty("AttackRange")]
154-
public int AttackRange { get; set; }
154+
public uint AttackRange { get; set; }
155155

156156
[JsonProperty("ProjectileModel")]
157157
public string ProjectileModel { get; set; }
158158

159159
[JsonProperty("ProjectileSpeed")]
160-
public int ProjectileSpeed { get; set; }
160+
public uint ProjectileSpeed { get; set; }
161161

162162
[JsonProperty("AttributePrimary")]
163163
public string AttributePrimary { get; set; }
164164

165165
[JsonProperty("AttributeBaseStrength")]
166-
public int AttributeBaseStrength { get; set; }
166+
public uint AttributeBaseStrength { get; set; }
167167

168168
[JsonProperty("AttributeStrengthGain")]
169169
public double AttributeStrengthGain { get; set; }
170170

171-
[JsonProperty("AttributeBaseIntelligence")]
172-
public int AttributeBaseIntelligence { get; set; }
171+
[JsonProperty("AttributeBaseuintelligence")]
172+
public uint AttributeBaseuintelligence { get; set; }
173173

174-
[JsonProperty("AttributeIntelligenceGain")]
175-
public double AttributeIntelligenceGain { get; set; }
174+
[JsonProperty("AttributeuintelligenceGain")]
175+
public double AttributeuintelligenceGain { get; set; }
176176

177177
[JsonProperty("AttributeBaseAgility")]
178-
public int AttributeBaseAgility { get; set; }
178+
public uint AttributeBaseAgility { get; set; }
179179

180180
[JsonProperty("AttributeAgilityGain")]
181181
public double AttributeAgilityGain { get; set; }
182182

183183
[JsonProperty("BountyXP")]
184-
public int BountyXP { get; set; }
184+
public uint BountyXP { get; set; }
185185

186186
[JsonProperty("BountyGoldMin")]
187-
public int BountyGoldMin { get; set; }
187+
public uint BountyGoldMin { get; set; }
188188

189189
[JsonProperty("BountyGoldMax")]
190-
public int BountyGoldMax { get; set; }
190+
public uint BountyGoldMax { get; set; }
191191

192192
[JsonProperty("BoundsHullName")]
193193
public string BoundsHullName { get; set; }
194194

195195
[JsonProperty("RingRadius")]
196-
public int RingRadius { get; set; }
196+
public uint RingRadius { get; set; }
197197

198198
[JsonProperty("MovementCapabilities")]
199199
public string MovementCapabilities { get; set; }
200200

201201
[JsonProperty("MovementSpeed")]
202-
public int MovementSpeed { get; set; }
202+
public uint MovementSpeed { get; set; }
203203

204204
[JsonProperty("MovementTurnRate")]
205205
public double MovementTurnRate { get; set; }
@@ -209,13 +209,13 @@ internal class DotaHeroSchemaItem
209209
public bool HasAggressiveStance { get; set; }
210210

211211
[JsonProperty("StatusHealth")]
212-
public int StatusHealth { get; set; }
212+
public uint StatusHealth { get; set; }
213213

214214
[JsonProperty("StatusHealthRegen")]
215215
public double StatusHealthRegen { get; set; }
216216

217217
[JsonProperty("StatusMana")]
218-
public int StatusMana { get; set; }
218+
public uint StatusMana { get; set; }
219219

220220
[JsonProperty("StatusManaRegen")]
221221
public double StatusManaRegen { get; set; }
@@ -236,10 +236,10 @@ internal class DotaHeroSchemaItem
236236
public string UnitRelationshipClass { get; set; }
237237

238238
[JsonProperty("VisionDaytimeRange")]
239-
public int VisionDaytimeRange { get; set; }
239+
public uint VisionDaytimeRange { get; set; }
240240

241241
[JsonProperty("VisionNighttimeRange")]
242-
public int VisionNighttimeRange { get; set; }
242+
public uint VisionNighttimeRange { get; set; }
243243

244244
[JsonProperty("HasInventory")]
245245
[JsonConverter(typeof(StringToBoolJsonConverter))]
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"version": "2.0.0-ci-*",
33
"authors": [ "Justin Skiles" ],
4-
"description": "Contains classes that are used as data transports between various application, business, and data layers for Steam related APIs.",
4+
"description": "Parses Valve Source Engine game schema files into easy to use object oriented structures.",
55
"packOptions": {
66
"copyright": "Copyright Justin Skiles",
77
"owners": [ "Justin Skiles" ],
8-
"licenseUrl": "https://raw.githubusercontent.com/babelshift/Steam.Models/master/LICENSE",
9-
"projectUrl": "https://github.com/babelshift/Steam.Models",
8+
"licenseUrl": "https://raw.githubusercontent.com/babelshift/SourceSchemaParser/master/LICENSE",
9+
"projectUrl": "https://github.com/babelshift/SourceSchemaParser",
1010
"requireLicenseAcceptance": false,
11-
"summary": "Classes and data transport objects for Steam Web APIs"
11+
"summary": "Helpers to parse VDF files."
1212
},
1313
"frameworks": {
1414
"netstandard1.3": {
@@ -19,6 +19,6 @@
1919
"dependencies": {
2020
"AutoMapper": "5.2.0",
2121
"Newtonsoft.Json": "9.0.1",
22-
"Steam.Models": "3.0.1-ci-00026"
22+
"Steam.Models": "3.0.1-ci-00027"
2323
}
2424
}

src/SourceSchemaParser/project.lock.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"lib/net45/Newtonsoft.Json.dll": {}
2222
}
2323
},
24-
"Steam.Models/3.0.1-ci-00026": {
24+
"Steam.Models/3.0.1-ci-00027": {
2525
"type": "package",
2626
"compile": {
2727
"lib/net45/Steam.Models.dll": {}
@@ -226,7 +226,7 @@
226226
"lib/netstandard1.0/_._": {}
227227
}
228228
},
229-
"Steam.Models/3.0.1-ci-00026": {
229+
"Steam.Models/3.0.1-ci-00027": {
230230
"type": "package",
231231
"dependencies": {
232232
"Microsoft.CSharp": "4.0.1",
@@ -1318,12 +1318,12 @@
13181318
"runtime.native.system.security.cryptography.nuspec"
13191319
]
13201320
},
1321-
"Steam.Models/3.0.1-ci-00026": {
1322-
"sha512": "Z2E6826/+Fz14hJLXbeMxumPzaloTmp/kAAjstzKRk41L8FpOF4mfO/6c4PrnszXFWXM2P9uAOZw3ahRBWnoQg==",
1321+
"Steam.Models/3.0.1-ci-00027": {
1322+
"sha512": "x+MYDuH9q4wO+VvqAj3KemHcEEv/P96whSWyXK2MvTQCCYVoaW+E2ATTYiPR4MqLm+vSA51MIDm9xuzPTgZDMA==",
13231323
"type": "package",
1324-
"path": "Steam.Models/3.0.1-ci-00026",
1324+
"path": "Steam.Models/3.0.1-ci-00027",
13251325
"files": [
1326-
"Steam.Models.3.0.1-ci-00026.nupkg.sha512",
1326+
"Steam.Models.3.0.1-ci-00027.nupkg.sha512",
13271327
"Steam.Models.nuspec",
13281328
"lib/net45/Steam.Models.dll",
13291329
"lib/netstandard1.0/Steam.Models.dll"
@@ -4471,7 +4471,7 @@
44714471
"": [
44724472
"AutoMapper >= 5.2.0",
44734473
"Newtonsoft.Json >= 9.0.1",
4474-
"Steam.Models >= 3.0.1-ci-00026"
4474+
"Steam.Models >= 3.0.1-ci-00027"
44754475
],
44764476
".NETFramework,Version=v4.5": [],
44774477
".NETStandard,Version=v1.3": []

0 commit comments

Comments
 (0)