Skip to content

Commit efc2b86

Browse files
author
Damon Pollard
committed
Merge pull request #23 from gitFurious/dev
v1.5.1.0
2 parents 6e9083a + a8bf30c commit efc2b86

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

README.md

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

5757
### Changelog ###
5858

59+
###### v.1.5.1.0 (2016-05-12)
60+
61+
1. Added new Medal Enum (Infection Hype!).
62+
5963
###### v.1.5.0.0 (2016-04-21)
6064

6165
1. Stats Endpoints.

Source/HaloSharp.Test/JSON/Metadata/Common/requisition-pack.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"type": "integer"
4747
},
4848
"flair": {
49-
"type": "null"
49+
"type": [ "string", "null" ]
5050
},
5151
"stackedRequisitionPacks": {
5252
"type": "array",

Source/HaloSharp.Test/JSON/Metadata/game-base-variants.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": [ "null", "string" ]
1515
},
1616
"supportedGameModes": {
17-
"type": "array",
17+
"type": ["null", "array"],
1818
"additionalItems": false,
1919
"items": {
2020
"type": "string"

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.0.0")]
35-
[assembly: AssemblyFileVersion("1.5.0.0")]
34+
[assembly: AssemblyVersion("1.5.1.0")]
35+
[assembly: AssemblyFileVersion("1.5.1.0")]

Source/HaloSharp/Model/Enumeration.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ public enum MedalType
113113
Warzone,
114114
WeaponProficiency,
115115
Goal,
116-
Ball
116+
Ball,
117+
Infection
117118
}
118119

119120
public enum OwnerType
@@ -137,11 +138,11 @@ public enum RequisitionPackType
137138
None,
138139
New,
139140
Hot,
140-
LeavingSoon,
141+
[EnumMember(Value = "Leaving Soon")] LeavingSoon,
141142
[EnumMember(Value = "Maximum Value")] MaximumValue,
142143
[EnumMember(Value = "Limited Time")] Limitedtime,
143144
Featured,
144-
BestSeller,
145+
[EnumMember(Value = "Best Seller")] BestSeller,
145146
Popular
146147
}
147148

Source/HaloSharp/Model/Metadata/GameBaseVariant.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public bool Equals(GameBaseVariant other)
7676
&& Id.Equals(other.Id)
7777
&& string.Equals(InternalName, other.InternalName)
7878
&& string.Equals(Name, other.Name)
79-
&& SupportedGameModes.OrderBy(sgm => sgm).SequenceEqual(other.SupportedGameModes.OrderBy(sgm => sgm));
79+
&& ((SupportedGameModes == null && other.SupportedGameModes == null) || (SupportedGameModes != null && other.SupportedGameModes != null && SupportedGameModes.OrderBy(ka => ka).SequenceEqual(other.SupportedGameModes.OrderBy(ka => ka))));
8080
}
8181

8282
public override bool Equals(object obj)

Source/HaloSharp/Model/Stats/Common/BaseStat.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public class WeaponId : IEquatable<WeaponId>
440440
/// Any attachments the weapon had.
441441
/// </summary>
442442
[JsonProperty(PropertyName = "Attachments")]
443-
public List<int> Attachments { get; set; }
443+
public List<uint> Attachments { get; set; }
444444

445445
/// <summary>
446446
/// The ID of the weapon. Weapons 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.0.0")]
36-
[assembly: AssemblyFileVersion("1.5.0.0")]
35+
[assembly: AssemblyVersion("1.5.1.0")]
36+
[assembly: AssemblyFileVersion("1.5.1.0")]
3737

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

0 commit comments

Comments
 (0)