Skip to content

Commit 592e05e

Browse files
author
Damon Pollard
authored
Merge pull request #28 from gitFurious/dev
v1.5.5.0
2 parents 2cc8106 + 05d5fad commit 592e05e

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

README.md

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

5757
### Changelog ###
5858

59+
###### v.1.5.6.0 (2016-07-28)
60+
61+
1. Updated XpInfo model.
62+
* Updated: PerformanceXP
63+
5964
###### v.1.5.5.0 (2016-07-16)
6065

6166
1. Updated WarzoneMatch model.

Source/HaloSharp.Test/JSON/Stats/CarnageReport/Common/xp-info.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"type": "integer"
2222
},
2323
"PerformanceXP": {
24-
"type": "integer"
24+
"type": [ "null", "integer" ]
2525
},
2626
"PlayerRankXPAward": {
2727
"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.5.0")]
35-
[assembly: AssemblyFileVersion("1.5.5.0")]
34+
[assembly: AssemblyVersion("1.5.6.0")]
35+
[assembly: AssemblyFileVersion("1.5.6.0")]

Source/HaloSharp/Model/Stats/CarnageReport/Common/XpInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class XpInfo : IEquatable<XpInfo>
2929
/// The XP awarded to the player based on how their team ranked when the match concluded.
3030
/// </summary>
3131
[JsonProperty(PropertyName = "PerformanceXP")]
32-
public int PerformanceXp { get; set; }
32+
public int? PerformanceXp { get; set; }
3333

3434
/// <summary>
3535
/// The XP awarded to the player for their team-agnostic rank.
@@ -125,7 +125,7 @@ public override int GetHashCode()
125125
var hashCode = BoostAmount;
126126
hashCode = (hashCode*397) ^ MatchSpeedWinAmount;
127127
hashCode = (hashCode*397) ^ ObjectivesCompletedAmount;
128-
hashCode = (hashCode*397) ^ PerformanceXp;
128+
hashCode = (hashCode*397) ^ PerformanceXp.GetHashCode();
129129
hashCode = (hashCode*397) ^ PlayerRankXpAward;
130130
hashCode = (hashCode*397) ^ PlayerTimePerformanceXpAward;
131131
hashCode = (hashCode*397) ^ PrevSpartanRank;

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.5.0")]
36-
[assembly: AssemblyFileVersion("1.5.5.0")]
35+
[assembly: AssemblyVersion("1.5.6.0")]
36+
[assembly: AssemblyFileVersion("1.5.6.0")]
3737

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

0 commit comments

Comments
 (0)