Skip to content

Commit 2cc8106

Browse files
author
Damon Pollard
authored
Merge pull request #27 from gitFurious/dev
v1.5.5.0
2 parents 521aa92 + 2ee3b78 commit 2cc8106

File tree

6 files changed

+24
-12
lines changed

6 files changed

+24
-12
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ A Nuget package is available at [www.nuget.org/packages/HaloSharp](https://www.n
5656

5757
### Changelog ###
5858

59+
###### v.1.5.5.0 (2016-07-16)
60+
61+
1. Updated WarzoneMatch model.
62+
* Updated: PveTotalRoundAssistBonuses
63+
* Updated: PveTotalRoundKillBonuses
64+
* Updated: PveTotalRoundSpeedBonuses
65+
* Updated: PveTotalRoundSurvivalBonuses
66+
5967
###### v.1.5.4.0 (2016-06-30)
6068

6169
1. Updated Player Stat model.

Source/HaloSharp.Test/JSON/Stats/CarnageReport/warzone-match.schema.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,16 @@
181181
}
182182
},
183183
"PveTotalRoundAssistBonuses": {
184-
"type": "null"
184+
"type": [ "integer", "null" ]
185185
},
186186
"PveTotalRoundKillBonuses": {
187-
"type": "null"
187+
"type": [ "integer", "null" ]
188188
},
189189
"PveTotalRoundSpeedBonuses": {
190-
"type": "null"
190+
"type": [ "integer", "null" ]
191191
},
192192
"PveTotalRoundSurvivalBonuses": {
193-
"type": "null"
193+
"type": [ "integer", "null" ]
194194
},
195195
"WarzoneLevel": {
196196
"type": "integer"

Source/HaloSharp.Test/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.5.4.0")]
35-
[assembly: AssemblyFileVersion("1.5.4.0")]
34+
[assembly: AssemblyVersion("1.5.5.0")]
35+
[assembly: AssemblyFileVersion("1.5.5.0")]

Source/HaloSharp.Test/Query/Stats/CarnageReport/GetWarzoneMatchDetailsTests.cs

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public async Task Query_DoesNotThrow()
7171
[Test]
7272
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
7373
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
74+
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
7475
public async Task GetWarzoneMatchDetails_DoesNotThrow(string guid)
7576
{
7677
var query = new GetWarzoneMatchDetails()
@@ -85,6 +86,7 @@ public async Task GetWarzoneMatchDetails_DoesNotThrow(string guid)
8586
[Test]
8687
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
8788
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
89+
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
8890
public async Task GetWarzoneMatchDetails_SchemaIsValid(string guid)
8991
{
9092
var weaponsSchema = JSchema.Parse(File.ReadAllText(Config.WarzoneMatchJsonSchemaPath), new JSchemaReaderSettings
@@ -105,6 +107,7 @@ public async Task GetWarzoneMatchDetails_SchemaIsValid(string guid)
105107
[Test]
106108
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
107109
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
110+
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
108111
public async Task GetWarzoneMatchDetails_ModelMatchesSchema(string guid)
109112
{
110113
var schema = JSchema.Parse(File.ReadAllText(Config.WarzoneMatchJsonSchemaPath), new JSchemaReaderSettings
@@ -128,6 +131,7 @@ public async Task GetWarzoneMatchDetails_ModelMatchesSchema(string guid)
128131
[Test]
129132
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
130133
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
134+
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
131135
public async Task GetWarzoneMatchDetails_IsSerializable(string guid)
132136
{
133137
var query = new GetWarzoneMatchDetails()

Source/HaloSharp/Model/Stats/CarnageReport/WarzoneMatch.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,25 +136,25 @@ public class WarzonePlayerStat : BasePlayerStat, IEquatable<WarzonePlayerStat>
136136
/// TODO
137137
/// </summary>
138138
[JsonProperty(PropertyName = "PveTotalRoundAssistBonuses")]
139-
public object PveTotalRoundAssistBonuses { get; set; }
139+
public int? PveTotalRoundAssistBonuses { get; set; }
140140

141141
/// <summary>
142142
/// TODO
143143
/// </summary>
144144
[JsonProperty(PropertyName = "PveTotalRoundKillBonuses")]
145-
public object PveTotalRoundKillBonuses { get; set; }
145+
public int? PveTotalRoundKillBonuses { get; set; }
146146

147147
/// <summary>
148148
/// TODO
149149
/// </summary>
150150
[JsonProperty(PropertyName = "PveTotalRoundSpeedBonuses")]
151-
public object PveTotalRoundSpeedBonuses { get; set; }
151+
public int? PveTotalRoundSpeedBonuses { get; set; }
152152

153153
/// <summary>
154154
/// TODO
155155
/// </summary>
156156
[JsonProperty(PropertyName = "PveTotalRoundSurvivalBonuses")]
157-
public object PveTotalRoundSurvivalBonuses { get; set; }
157+
public int? PveTotalRoundSurvivalBonuses { get; set; }
158158

159159
/// <summary>
160160
/// The set of rewards that the player got in this match. Rewards are available via the Metadata API.

Source/HaloSharp/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.5.4.0")]
36-
[assembly: AssemblyFileVersion("1.5.4.0")]
35+
[assembly: AssemblyVersion("1.5.5.0")]
36+
[assembly: AssemblyFileVersion("1.5.5.0")]
3737

3838
//HaloSharp.Test
3939
[assembly: InternalsVisibleTo("HaloSharp.Test")]

0 commit comments

Comments
 (0)