Skip to content

Commit 151e88b

Browse files
author
Mikkel Sørensen
committed
Simplified obsolete code
1 parent 3219a7a commit 151e88b

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4708,17 +4708,7 @@ public static void BeginSteamPurchaseRedemptionForClass(int classId, string stea
47084708
[Obsolete("This function will be removed on a later date. Use QuerySteamPurchaseRedemption instead.")]
47094709
public static void BeginSteamPurchaseRedemption(string entitlementId, Action<LootLockerQuerySteamPurchaseRedemptionStatusResponse> onComplete)
47104710
{
4711-
if (!CheckInitialized())
4712-
{
4713-
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerQuerySteamPurchaseRedemptionStatusResponse>());
4714-
return;
4715-
}
4716-
var body = LootLockerJson.SerializeObject(new LootLockerQuerySteamPurchaseRedemptionStatusRequest()
4717-
{
4718-
entitlement_id = entitlementId
4719-
});
4720-
4721-
LootLockerServerRequest.CallAPI(LootLockerEndPoints.querySteamPurchaseRedemptionStatus.endPoint, LootLockerEndPoints.querySteamPurchaseRedemptionStatus.httpMethod, body, onComplete: (serverResponse) => { LootLockerResponse.Deserialize(onComplete, serverResponse); });
4711+
QuerySteamPurchaseRedemption(entitlementId, onComplete);
47224712
}
47234713

47244714
/// <summary>

0 commit comments

Comments
 (0)