Skip to content

Commit 1b234ae

Browse files
Erik Bylundkirre-bylund
authored andcommitted
fix: Various mini fixes
1 parent 56d2fd4 commit 1b234ae

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

Runtime/Game/Requests/AssetRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ public class LootLockerGrantAssetResponse : LootLockerResponse
202202
{
203203
public int id { get; set; }
204204
public int asset_id { get; set; }
205+
public string asset_ulid { get; set; }
205206
public int? asset_variation_id { get; set; }
206207
public int? asset_rental_option_id { get; set; }
207-
public string asset_ulid { get; set; }
208208
public string acquisition_source { get; set; }
209209
public string acquisition_date { get; set; }
210210
}

Runtime/Game/Requests/CatalogRequests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public class LootLockerAssetDetails
238238
/// </summary>
239239
public int legacy_id { get; set; }
240240
/// <summary>
241-
/// The unique identifying id of this asset
241+
/// The unique identifying ulid of this asset
242242
/// </summary>
243243
public string id { get; set; }
244244
/// <summary>

Runtime/Game/Requests/HeroRequest.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
namespace LootLocker.Requests
55
{
6-
7-
86
public class LootLockerPlayerHeroResponse : LootLockerResponse
97
{
108
public LootLockerPlayerHero hero;
@@ -86,6 +84,7 @@ public class LootLockerAddAssetVariationToHeroLoadoutRequest
8684
public int asset_variation_id { get; set; }
8785
}
8886

87+
[Obsolete("LootLockerHeroLoadout is deprecated as it's not used in the SDK")]
8988
public class LootLockerHeroLoadout
9089
{
9190
public int variation_id { get; set; }
@@ -95,11 +94,13 @@ public class LootLockerHeroLoadout
9594
public LootLockerRental rental { get; set; }
9695
}
9796

97+
[Obsolete("LootLockerHeroAssetInstance is deprecated as it's not used in the SDK")]
9898
public class LootLockerHeroAssetInstance
9999
{
100100
public int instance_id { get; set; }
101101
}
102102

103+
[Obsolete("LootLockerHeroAsset is deprecated as it's not used in the SDK")]
103104
public class LootLockerHeroAsset
104105
{
105106
public int asset_id { get; set; }

Runtime/Game/Requests/MetadataRequests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public bool TryGetValueAsDouble(out double output)
9595
try
9696
{
9797
string doubleAsString = value.ToString();
98-
return double.TryParse(doubleAsString, out output); ;
98+
return double.TryParse(doubleAsString, out output);
9999
}
100100
catch (InvalidCastException)
101101
{
@@ -111,7 +111,7 @@ public bool TryGetValueAsInteger(out int output)
111111
try
112112
{
113113
string intAsString = value.ToString();
114-
return int.TryParse(intAsString, out output); ;
114+
return int.TryParse(intAsString, out output);
115115
}
116116
catch (InvalidCastException)
117117
{
@@ -127,7 +127,7 @@ public bool TryGetValueAsBool(out bool output)
127127
try
128128
{
129129
string boolAsString = value.ToString();
130-
return bool.TryParse(boolAsString, out output); ;
130+
return bool.TryParse(boolAsString, out output);
131131
}
132132
catch (InvalidCastException)
133133
{

0 commit comments

Comments
 (0)