Skip to content

Commit 18ec6b5

Browse files
Erik BylundMikkel Sørensen
authored andcommitted
Deprecate legacy IAP methods
1 parent 151e88b commit 18ec6b5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4298,6 +4298,7 @@ public static void GetAllMaps(Action<LootLockerMapsResponse> onComplete)
42984298
/// <param name="assetID">The ID of the asset to purchase</param>
42994299
/// <param name="variationID">The variation ID of the asset to purchase</param>
43004300
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerPurchaseResponse</param>
4301+
[Obsolete("This purchasing system has been replaced with our new IAP system and will be removed at a later stage. Read more here: https://docs.lootlocker.com/content/in-app-purchases")]
43014302
public static void NormalPurchaseCall(int assetID, int variationID, Action<LootLockerPurchaseResponse> onComplete)
43024303
{
43034304
if (!CheckInitialized())
@@ -4318,6 +4319,7 @@ public static void NormalPurchaseCall(int assetID, int variationID, Action<LootL
43184319
/// <param name="variationID">The variation ID of the asset to purchase</param>
43194320
/// <param name="rentalOptionID">The rental option ID of the asset to purchase</param>
43204321
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerPurchaseResponse</param>
4322+
[Obsolete("This purchasing system has been replaced with our new IAP system and will be removed at a later stage. Read more here: https://docs.lootlocker.com/content/in-app-purchases")]
43214323
public static void RentalPurchaseCall(int assetID, int variationID, int rentalOptionID, Action<LootLockerPurchaseResponse> onComplete)
43224324
{
43234325
if (!CheckInitialized())
@@ -4334,6 +4336,7 @@ public static void RentalPurchaseCall(int assetID, int variationID, int rentalOp
43344336
/// </summary>
43354337
/// <param name="receipt_data">Receipt that is received when a purchase goes through with apple</param>
43364338
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerPurchaseResponse</param>
4339+
[Obsolete("This purchasing system has been replaced with our new IAP system and will be removed at a later stage. Read more here: https://docs.lootlocker.com/content/in-app-purchases")]
43374340
public static void IosPurchaseVerification(string receipt_data, Action<LootLockerPurchaseResponse> onComplete)
43384341
{
43394342
if (!CheckInitialized())
@@ -4351,6 +4354,7 @@ public static void IosPurchaseVerification(string receipt_data, Action<LootLocke
43514354
/// <param name="purchase_token">The token that is received when a purchase has been made</param>
43524355
/// <param name="asset_id">The ID of the asset to purchase</param>
43534356
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerPurchaseResponse</param>
4357+
[Obsolete("This purchasing system has been replaced with our new IAP system and will be removed at a later stage. Read more here: https://docs.lootlocker.com/content/in-app-purchases")]
43544358
public static void AndroidPurchaseVerification(string purchase_token, int asset_id, Action<LootLockerPurchaseResponse> onComplete)
43554359
{
43564360
if (!CheckInitialized())

Runtime/Game/Requests/PurchaseRequest.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public enum SteamPurchaseRedemptionStatus
2626
namespace LootLocker.Requests
2727
{
2828
#region Legacy Purchasing
29-
//TODO: Deprecate legacy purchasing
3029

3130
public class LootLockerPurchaseRequests
3231
{
@@ -254,7 +253,6 @@ namespace LootLocker
254253
public partial class LootLockerAPIManager
255254
{
256255
#region Legacy Purchasing
257-
// TODO: Deprecate legacy purchasing
258256
public static void NormalPurchaseCall(LootLockerNormalPurchaseRequest[] data, Action<LootLockerPurchaseResponse> onComplete)
259257
{
260258
if(data == null)

0 commit comments

Comments
 (0)