Skip to content

Commit 208a042

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Move Listing class definition under the right heading
1 parent 1ac313b commit 208a042

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
using Newtonsoft.Json.Linq;
1212
#else
1313
using LLlibs.ZeroDepJson;
14-
using Ionic.Zlib;
15-
using System.Net;
1614
#endif
1715
#if UNITY_EDITOR
1816
using UnityEditor;

Runtime/Game/Requests/EntitlementRequests.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -120,36 +120,16 @@ public class LootLockerEntitlementHistoryReward
120120
public string Id { get; set; }
121121
}
122122

123-
//==================================================
124-
// Response Definitions
125-
//==================================================
126-
127-
/// <summary>
128-
/// </summary>
129-
public class LootLockerEntitlementHistoryResponse : LootLockerResponse
130-
{
131-
132-
/// <summary>
133-
/// List of entitlement history entries
134-
/// </summary>
135-
public LootLockerEntitlementListing[] Listings { get; set; }
136-
137-
/// <summary>
138-
/// Pagination data to use for subsequent requests
139-
/// </summary>
140-
public LootLockerPaginationResponse<string> Pagination { get; set; }
141-
}
142-
143123
/// <summary>
144124
/// </summary>
145125
public class LootLockerEntitlementListing
146126
{
147-
127+
148128
/// <summary>
149129
/// When this entitlement listing was created
150130
/// </summary>
151131
public string Created_at { get; set; }
152-
132+
153133
/// <summary>
154134
/// The unique identifier of this entitlement listing
155135
/// </summary>
@@ -186,4 +166,24 @@ public class LootLockerEntitlementListing
186166
/// </summary>
187167
public LootLockerEntitlementHistoryListingType Type { get; set; } = LootLockerEntitlementHistoryListingType.Undefined;
188168
}
169+
170+
//==================================================
171+
// Response Definitions
172+
//==================================================
173+
174+
/// <summary>
175+
/// </summary>
176+
public class LootLockerEntitlementHistoryResponse : LootLockerResponse
177+
{
178+
179+
/// <summary>
180+
/// List of entitlement history entries
181+
/// </summary>
182+
public LootLockerEntitlementListing[] Listings { get; set; }
183+
184+
/// <summary>
185+
/// Pagination data to use for subsequent requests
186+
/// </summary>
187+
public LootLockerPaginationResponse<string> Pagination { get; set; }
188+
}
189189
}

0 commit comments

Comments
 (0)