@@ -1261,27 +1261,27 @@ public static void UpdatingAnAssetCandidate(int assetId, bool isCompleted, Actio
1261
1261
LootLockerAPIManager . UpdatingAnAssetCandidate ( data , getRequest , onComplete ) ;
1262
1262
}
1263
1263
1264
- public static void DeletingAnAssetCandidate ( int assetId , Action < LootLockerUserGenerateContentResponse > onComplete )
1264
+ public static void DeletingAnAssetCandidate ( int assetCandidateID , Action < LootLockerUserGenerateContentResponse > onComplete )
1265
1265
{
1266
1266
if ( ! CheckInitialized ( ) )
1267
1267
{
1268
1268
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerUserGenerateContentResponse > ( ) ) ;
1269
1269
return ;
1270
1270
}
1271
1271
LootLockerGetRequest data = new LootLockerGetRequest ( ) ;
1272
- data . getRequests . Add ( assetId . ToString ( ) ) ;
1272
+ data . getRequests . Add ( assetCandidateID . ToString ( ) ) ;
1273
1273
LootLockerAPIManager . DeletingAnAssetCandidate ( data , onComplete ) ;
1274
1274
}
1275
1275
1276
- public static void GettingASingleAssetCandidate ( int assetId , Action < LootLockerUserGenerateContentResponse > onComplete )
1276
+ public static void GettingASingleAssetCandidate ( int assetCandidateID , Action < LootLockerUserGenerateContentResponse > onComplete )
1277
1277
{
1278
1278
if ( ! CheckInitialized ( ) )
1279
1279
{
1280
1280
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerUserGenerateContentResponse > ( ) ) ;
1281
1281
return ;
1282
1282
}
1283
1283
LootLockerGetRequest data = new LootLockerGetRequest ( ) ;
1284
- data . getRequests . Add ( assetId . ToString ( ) ) ;
1284
+ data . getRequests . Add ( assetCandidateID . ToString ( ) ) ;
1285
1285
LootLockerAPIManager . GettingASingleAssetCandidate ( data , onComplete ) ;
1286
1286
}
1287
1287
@@ -1295,7 +1295,7 @@ public static void ListingAssetCandidates(Action<LootLockerListingAssetCandidate
1295
1295
LootLockerAPIManager . ListingAssetCandidates ( onComplete ) ;
1296
1296
}
1297
1297
1298
- public static void AddingFilesToAssetCandidates ( int assetId , string filePath , string fileName ,
1298
+ public static void AddingFilesToAssetCandidates ( int assetCandidateID , string filePath , string fileName ,
1299
1299
FilePurpose filePurpose , Action < LootLockerUserGenerateContentResponse > onComplete , string fileContentType = null )
1300
1300
{
1301
1301
if ( ! CheckInitialized ( ) )
@@ -1314,12 +1314,12 @@ public static void AddingFilesToAssetCandidates(int assetId, string filePath, st
1314
1314
1315
1315
LootLockerGetRequest getRequest = new LootLockerGetRequest ( ) ;
1316
1316
1317
- getRequest . getRequests . Add ( assetId . ToString ( ) ) ;
1317
+ getRequest . getRequests . Add ( assetCandidateID . ToString ( ) ) ;
1318
1318
1319
1319
LootLockerAPIManager . AddingFilesToAssetCandidates ( data , getRequest , onComplete ) ;
1320
1320
}
1321
1321
1322
- public static void RemovingFilesFromAssetCandidates ( int assetId , int fileId , Action < LootLockerUserGenerateContentResponse > onComplete )
1322
+ public static void RemovingFilesFromAssetCandidates ( int assetCandidateID , int fileId , Action < LootLockerUserGenerateContentResponse > onComplete )
1323
1323
{
1324
1324
if ( ! CheckInitialized ( ) )
1325
1325
{
@@ -1328,7 +1328,7 @@ public static void RemovingFilesFromAssetCandidates(int assetId, int fileId, Act
1328
1328
}
1329
1329
1330
1330
LootLockerGetRequest data = new LootLockerGetRequest ( ) ;
1331
- data . getRequests . Add ( assetId . ToString ( ) ) ;
1331
+ data . getRequests . Add ( assetCandidateID . ToString ( ) ) ;
1332
1332
data . getRequests . Add ( fileId . ToString ( ) ) ;
1333
1333
1334
1334
LootLockerAPIManager . RemovingFilesFromAssetCandidates ( data , onComplete ) ;
@@ -1411,27 +1411,27 @@ public static void GettingAllMaps(Action<LootLockerMapsResponse> onComplete)
1411
1411
#endregion
1412
1412
1413
1413
#region Purchasing
1414
- public static void NormalPurchaseCall ( int asset_id , int variation_id , Action < LootLockerPurchaseResponse > onComplete )
1414
+ public static void NormalPurchaseCall ( int assetID , int variationID , Action < LootLockerPurchaseResponse > onComplete )
1415
1415
{
1416
1416
if ( ! CheckInitialized ( ) )
1417
1417
{
1418
1418
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerPurchaseResponse > ( ) ) ;
1419
1419
return ;
1420
1420
}
1421
- LootLockerNormalPurchaseRequest data = new LootLockerNormalPurchaseRequest { asset_id = asset_id , variation_id = variation_id } ;
1421
+ LootLockerNormalPurchaseRequest data = new LootLockerNormalPurchaseRequest { asset_id = assetID , variation_id = variationID } ;
1422
1422
List < LootLockerNormalPurchaseRequest > datas = new List < LootLockerNormalPurchaseRequest > ( ) ;
1423
1423
datas . Add ( data ) ;
1424
1424
LootLockerAPIManager . NormalPurchaseCall ( datas . ToArray ( ) , onComplete ) ;
1425
1425
}
1426
1426
1427
- public static void RentalPurchaseCall ( int asset_id , int variation_id , int rental_option_id , Action < LootLockerPurchaseResponse > onComplete )
1427
+ public static void RentalPurchaseCall ( int assetID , int variationID , int rentalOptionID , Action < LootLockerPurchaseResponse > onComplete )
1428
1428
{
1429
1429
if ( ! CheckInitialized ( ) )
1430
1430
{
1431
1431
onComplete ? . Invoke ( LootLockerResponseFactory . SDKNotInitializedError < LootLockerPurchaseResponse > ( ) ) ;
1432
1432
return ;
1433
1433
}
1434
- LootLockerRentalPurchaseRequest data = new LootLockerRentalPurchaseRequest { asset_id = asset_id , variation_id = variation_id , rental_option_id = rental_option_id } ;
1434
+ LootLockerRentalPurchaseRequest data = new LootLockerRentalPurchaseRequest { asset_id = assetID , variation_id = variationID , rental_option_id = rentalOptionID } ;
1435
1435
LootLockerAPIManager . RentalPurchaseCall ( data , onComplete ) ;
1436
1436
}
1437
1437
0 commit comments