@@ -4302,22 +4302,22 @@ public static void RedeemAppleAppStorePurchaseForPlayer(string transactionId, Ac
4302
4302
}
4303
4303
4304
4304
/// <summary>
4305
- /// Redeem a purchase that was made successfully towards the Apple App Store for a character that the current player owns
4305
+ /// Redeem a purchase that was made successfully towards the Apple App Store for a class that the current player owns
4306
4306
/// </summary>
4307
4307
/// <param name="transactionId">The id of the transaction successfully made towards the Apple App Store</param>
4308
- /// <param name="characterId ">The id of the character to redeem this transaction for</param>
4308
+ /// <param name="classId ">The id of the class to redeem this transaction for</param>
4309
4309
/// <param name="onComplete">onComplete Action for handling the response</param>
4310
- public static void RedeemAppleAppStorePurchaseForCharacter ( string transactionId , int characterId , Action < LootLockerResponse > onComplete )
4310
+ public static void RedeemAppleAppStorePurchaseForClass ( string transactionId , int classId , Action < LootLockerResponse > onComplete )
4311
4311
{
4312
4312
if ( ! CheckInitialized ( ) )
4313
4313
{
4314
4314
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerResponse > ( ) ) ;
4315
4315
return ;
4316
4316
}
4317
- var body = LootLockerJson . SerializeObject ( new LootLockerRedeemAppleAppStorePurchaseForCharacterRequest ( )
4317
+ var body = LootLockerJson . SerializeObject ( new LootLockerRedeemAppleAppStorePurchaseForClassRequest ( )
4318
4318
{
4319
4319
transaction_id = transactionId ,
4320
- character_id = characterId
4320
+ class_id = classId
4321
4321
} ) ;
4322
4322
4323
4323
LootLockerServerRequest . CallAPI ( LootLockerEndPoints . redeemAppleAppStorePurchase . endPoint , LootLockerEndPoints . redeemAppleAppStorePurchase . httpMethod , body , onComplete : ( serverResponse ) => { LootLockerResponse . Deserialize ( onComplete , serverResponse ) ; } ) ;
@@ -4346,24 +4346,24 @@ public static void RedeemGooglePlayStorePurchaseForPlayer(string productId, stri
4346
4346
}
4347
4347
4348
4348
/// <summary>
4349
- /// Redeem a purchase that was made successfully towards the Google Play Store for a character that the current player owns
4349
+ /// Redeem a purchase that was made successfully towards the Google Play Store for a class that the current player owns
4350
4350
/// </summary>
4351
4351
/// <param name="productId">The id of the product that this redemption refers to</param>
4352
4352
/// <param name="purchaseToken">The token from the purchase successfully made towards the Google Play Store</param>
4353
- /// <param name="characterId ">The id of the character to redeem this purchase for</param>
4353
+ /// <param name="classId ">The id of the class to redeem this purchase for</param>
4354
4354
/// <param name="onComplete">onComplete Action for handling the response</param>
4355
- public static void RedeemGooglePlayStorePurchaseForCharacter ( string productId , string purchaseToken , int characterId , Action < LootLockerResponse > onComplete )
4355
+ public static void RedeemGooglePlayStorePurchaseForClass ( string productId , string purchaseToken , int classId , Action < LootLockerResponse > onComplete )
4356
4356
{
4357
4357
if ( ! CheckInitialized ( ) )
4358
4358
{
4359
4359
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerResponse > ( ) ) ;
4360
4360
return ;
4361
4361
}
4362
- var body = LootLockerJson . SerializeObject ( new LootLockerRedeemGooglePlayStorePurchaseForCharacterRequest ( )
4362
+ var body = LootLockerJson . SerializeObject ( new LootLockerRedeemGooglePlayStorePurchaseForClassRequest ( )
4363
4363
{
4364
4364
product_id = productId ,
4365
4365
purchase_token = purchaseToken ,
4366
- character_id = characterId
4366
+ class_id = classId
4367
4367
} ) ;
4368
4368
4369
4369
LootLockerServerRequest . CallAPI ( LootLockerEndPoints . redeemGooglePlayStorePurchase . endPoint , LootLockerEndPoints . redeemGooglePlayStorePurchase . httpMethod , body , onComplete : ( serverResponse ) => { LootLockerResponse . Deserialize ( onComplete , serverResponse ) ; } ) ;
0 commit comments