LootLocker Unreal Server SDK 6.5.0
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerServerForCpp.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "JsonObjectConverter.h"
30
31class LOOTLOCKERSERVERSDK_API ULootLockerServerForCpp : public UObject
32{
33public:
34
35 //==================================================
36 // Authentication
37 //==================================================
40
47 static FString StartSession(const FLootLockerServerAuthResponseDelegate& OnCompletedRequest);
48
55 static FString MaintainSession(const FLootLockerServerMaintainSessionResponseDelegate& OnCompletedRequest);
56
58
59 //==================================================
60 // Token Exchange
61 //==================================================
64
74 static FString GameApiTokenExchange(const FString& GameApiSessionToken, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
75
85 static FString GameApiUserImpersonation(const FString& PlayerUlid, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
86
88
89 //==================================================
90 // Leaderboards
91 //==================================================
94
102
111 static FString ListLeaderboards(int32 Count, int32 After, const FLootLockerServerListLeaderboardsResponseDelegate& OnCompletedRequest);
112
120 static FString GetLeaderboard(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardResponseDelegate& OnCompletedRequest);
121
135 static FString CreateLeaderboard(FString LeaderboardKey, FString Name, ELootLockerServerLeaderboardType Type, bool HasMetadata, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerCreateLeaderboardResponseDelegate& OnCompletedRequest);
136
146 static FString ListAssets(const FLootLockerServerListAssetsRequest& Request, int PerPage, int Page, const FLootLockerServerListAssetsResponseDelegate& OnCompletedRequest);
147
155
164 static FString ListContexts(int PerPage, int Page, const FLootLockerServerListContextsResponseDelegate& OnCompletedRequest);
165
178 static FString UpdateLeaderboard(FString LeaderboardKey, FString NewLeaderboardKey, FString Name, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerUpdateLeaderboardResponseDelegate& OnCompletedRequest);
179
187 static FString DeleteLeaderboard(FString LeaderboardKey, const FLootLockerServerDeleteLeaderboardResponseDelegate& OnCompletedRequest);
188
199 static FString SubmitScore(FString LeaderboardKey, FString MemberID, int Score, FString Metadata, const FLootLockerServerLeaderboardSubmitScoreResponseDelegate& OnCompletedRequest);
200
210 static FString IncrementScore(FString LeaderboardKey, FString MemberID, int Amount, const FLootLockerServerLeaderboardIncrementScoreResponseDelegate& OnCompletedRequest);
211
219 static FString GetAllMemberRanks(FString MemberID, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
220
230 static FString GetPaginatedAllMemberRanks(FString MemberID, const int Count, const int After, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
231
241 static FString GetScoresFromLeaderboard(FString LeaderboardKey, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
242
254 static FString GetPaginatedScoresFromLeaderboard(FString LeaderboardKey, int Count, int After, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
255
262 static FString GetLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
263
279 static FString CreateLeaderboardSchedule(const FString& LeaderboardKey, const FString& CronExpression, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
280
287 static FString DeleteLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerDeleteLeaderboardScheduleResponseDelegate& OnCompletedRequest);
288
290
291 //==================================================
292 // Leaderboard Archives
293 //==================================================
296
303 static FString ListLeaderboardArchive(const FString& LeaderboardKey, const FLootLockerServerLeaderboardArchiveResponseDelegate& OnCompletedRequest);
304
313 static FString GetLeaderboardArchive(const FString& Key, int Count, const FString& After, const FLootLockerServerLeaderboardArchiveDetailResponseDelegate& OnCompletedRequest);
314
316
317 //==================================================
318 // Triggers
319 //==================================================
322
333 static FString InvokeTriggerForPlayer(FString TriggerName, int PlayerID, const FLootLockerServerInvokeTriggerResponseDelegate& OnCompletedRequest);
334
336
337 //==================================================
338 // Player Persistent Storage
339 //==================================================
342
351
359 static FString GetPersistentStorageForPlayers(TArray<int> PlayerIDs, const FLootLockerServerGetPersistentStorageForPlayersResponseDelegate& OnCompletedRequest);
360
369
378 static FString GetPublicPersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
379
387 static FString UpdatePersistentStorageForPlayersAndKeys(TArray<FLootLockerServerPlayerPersistentStorageEntry_NamedSets> StorageEntriesToUpdate, const FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
388
398 static FString DeletePersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
399
401
402 //==================================================
403 // Characters
404 //==================================================
407
416 static FString GetPlayerCharacters(int PlayerID, const FLootLockerServerGetPlayerCharacterResponseDelegate& OnCompletedRequest);
417
426 static FString GetPlayerCharacterInventory(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
427
439 static FString GetPaginatedPlayerCharacterInventory(int PlayerID, int CharacterID, int Count, int After, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
440
449 static FString GetPlayerCharacterLoadout(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterLoadoutResponseDelegate& OnCompletedRequest);
450
460 static FString EquipAssetToPlayerCharacterLoadoutByAssetInstanceId(int PlayerID, int CharacterID, int AssetInstanceID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
461
472 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndAssetVariationId(int PlayerID, int CharacterID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
473
484 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndRentalOptionId(int PlayerID, int CharacterID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
494 static FString UnequipAssetFromPlayerCharacterLoadout(int PlayerID, int CharacterID, int InstanceID, const FLootLockerServerUnequipAssetFromCharacterLoadoutResponseDelegate& OnCompletedRequest);
495
497
498 //==================================================
499 // Heroes
500 //==================================================
503
511 static FString GetPlayerHeroes(int PlayerID, const FLootLockerServerGetPlayerHeroResponseDelegate& OnCompletedRequest);
512
521 static FString GetPlayerHeroInventory(int PlayerID, int HeroID, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
522
533 static FString GetPaginatedPlayerHeroInventory(int PlayerID, int HeroID, int Count, int After, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
534
543 static FString GetPlayerHeroLoadout(int PlayerID, int HeroID, const FLootLockerServerGetHeroLoadoutResponseDelegate& OnCompletedRequest);
544
554 static FString EquipAssetToPlayerHeroLoadoutByAssetInstanceId(int PlayerID, int HeroID, int AssetInstanceID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
555
566 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndAssetVariationId(int PlayerID, int HeroID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
567
578 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndRentalOptionId(int PlayerID, int HeroID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
588 static FString UnequipAssetFromPlayerHeroLoadout(int PlayerID, int HeroID, int InstanceID, const FLootLockerServerUnequipAssetFromHeroLoadoutResponseDelegate& OnCompletedRequest);
589
591
592 //==================================================
593 // Player Inventory
594 //==================================================
597
605
613 static FString GetPlayerInventory(int PlayerID, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
614
624 static FString GetPaginatedPlayerInventory(int PlayerID, int Count, int After, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
625
633 static FString GetPlayerLoadout(int PlayerID, const FLootLockerServerGetPlayerLoadoutResponseDelegate& OnCompletedRequest);
634
644 static FString EquipAssetToPlayerLoadoutByAssetId(int PlayerID, int AssetID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
645
655 static FString EquipAssetToPlayerLoadoutByAssetInstanceId(int PlayerID, int AssetInstanceID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
656
667 static FString EquipAssetToPlayerLoadoutByAssetIdAndAssetVariationId(int PlayerID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
668
679 static FString EquipAssetToPlayerLoadoutByAssetIdAndRentalOptionId(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
680
690 static FString UnequipAssetFromPlayerLoadout(int PlayerID, int InstanceID, const FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate& OnCompletedRequest);
691
701 static FString AddAssetToPlayerInventoryByAssetID(int PlayerID, int AssetID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
702
713 static FString AddAssetToPlayerInventoryByAssetIDAndVariationID(int PlayerID, int AssetID, int VariationID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
714
725 static FString AddAssetToPlayerInventoryByAssetIDAndRentalOptionID(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
726
738 static FString AlterPlayerInventoryAddAssetsByAssetID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
739
751 static FString AlterPlayerInventoryAddAssetsByAssetIDAndVariationID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndVariationIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
752
764 static FString AlterPlayerInventoryAddAssetsByAssetIDAndRentalOptionID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndRentalOptionIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
765
767
768 //==================================================
769 // Assets
770 //==================================================
773
783 static FString GetAssets(const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
784
796 static FString GetPaginatedAssets(int Count, int After, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
797
808 static FString GetAssetsByContext(int Count, int After, int Context, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
809
811
812 //==================================================
813 // Asset Instances
814 //==================================================
817
826 static FString GetKeyValuePairsFromAssetInstance(int PlayerID, int AssetInstanceID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
827
837 static FString GetAssetInstanceKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
838
849 static FString AddKeyValuePairToAssetInstance(int PlayerID, int AssetInstanceID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
850
860 static FString UpdateKeyValuePairsOnAssetInstance(int PlayerID, int AssetInstanceID, TArray<FLootLockerServerAssetStorageKeyValueSet> KeyValuePairs, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
861
873 static FString UpdateKeyValuePairOnAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
874
884 static FString DeleteKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
885
887
888 //==================================================
889 // Drop Tables
890 //==================================================
893
902 static FString ComputeAndLockDropTable(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
903
913 static FString ComputeAndLockDropTableForTag(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
914
923 static FString ComputeAndLockDropTableWithAssetInformation(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
924
934 static FString ComputeAndLockDropTableForTagWithAssetInformation(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
935
945 static FString PickDropsFromDropTable(int PlayerID, int DropTableID, TArray<int> DropTableItemIDsToPick, const FLootLockerServerPickFromDropTableResponseDelegate& OnCompletedRequest);
946
948
949 //==================================================
950 // Friends
951 //==================================================
954
964 static FString ListFriendsForPlayer(const FString& PlayerULID, int Page, int PerPage, const FLootLockerServerListFriendsResponseDelegate& OnCompletedRequest);
965
967
968 //==================================================
969 // Connected Accounts
970 //==================================================
973
983 static FString ListConnectedAccounts(const TArray<FString>& PlayerULIDs, const TArray<int>& LegacyPlayerIDs, const FLootLockerServerListConnectedAccountsResponseDelegate& OnCompletedRequest);
984
986
987 //==================================================
988 // Player
989 //==================================================
992
1000 static FString LookupPlayerNames(TArray<FLootLockerServerPlayerNameLookupPair> IdsToLookUp, const FLootLockerServerPlayerNameLookupResponseDelegate& OnCompletedRequest);
1001
1010 static FString GetPlayerInfoFromGameSessionToken(TArray<FString> GameSessionTokensToLookUp, const FLootLockerServerGetPlayerInfoFromGameSessionTokenResponseDelegate& OnCompletedRequest);
1011
1022 static FString CreatePlayer(ELootLockerServerCreatePlayerPlatforms Platform, const FString& PlatformPlayerIdentifier, const FLootLockerServerCreatePlayerResponseDelegate& OnCompletedRequest);
1023
1025
1026 //==================================================
1027 // Player Files
1028 //==================================================
1031
1039 static FString ListFilesForPlayer(int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate& OnCompletedRequest);
1040
1049 static FString GetFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1050
1060 static FString DeleteFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerPlayerFileDeleteResponseDelegate& OnCompletedRequest);
1061
1073 static FString UploadFileForPlayer(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1074
1087 static FString UploadRawDataToPlayerFile(int PlayerID, TArray<uint8> RawData, const FString& FileName, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1088
1098 static FString UpdateFileForPlayer(int PlayerID, int FileID, FString FilePath, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1099
1110 static FString UpdatePlayerFileWithRawData(int PlayerID, int FileID, TArray<uint8> RawData, const FString& FileName, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1111
1113
1114 //==================================================
1115 // Game Progressions
1116 //==================================================
1119
1128
1137 static FString GetPaginatedProgressions(int32 Count, const FString& After, const FLootLockerServerGameProgressionListResponseDelegate& OnCompletedRequest);
1138
1146 static FString GetProgressionByKey(const FString& ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate& OnCompletedRequest);
1147
1156 static FString GetTiersForProgression(const FString& ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1157
1167 static FString GetPaginatedTiersForProgression(const FString& ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1168
1170
1171 //==================================================
1172 // Player Progressions
1173 //==================================================
1176
1185 static FString GetProgressionsForPlayer(int PlayerID, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1186
1196 static FString GetPaginatedProgressionsForPlayer(int PlayerID, int32 Count, const FString& After, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1197
1206 static FString GetProgressionForPlayerByKey(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionResponseDelegate& OnCompletedRequest);
1207
1217 static FString AddPointsToProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1218
1228 static FString SubtractPointsFromProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1229
1238 static FString ResetProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1239
1248 static FString DeleteProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerDeletePlayerProgressionResponseDelegate& OnCompletedRequest);
1249
1251
1252 //==================================================
1253 // Character Progressions
1254 //==================================================
1257
1267 static FString GetProgressionsForCharacter(int PlayerID, int CharacterID, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1268
1279 static FString GetPaginatedProgressionsForCharacter(int PlayerID, int CharacterID, int32 Count, const FString& After, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1280
1290 static FString GetProgressionForCharacterByKey(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionResponseDelegate& OnCompletedRequest);
1291
1302 static FString AddPointsToProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1303
1314 static FString SubtractPointsFromProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1315
1325 static FString ResetProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1326
1336 static FString DeleteProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerDeleteCharacterProgressionResponseDelegate& OnCompletedRequest);
1337
1338
1340
1341 //==================================================
1342 // Instance Progressions
1343 //==================================================
1346
1355 static FString GetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1356
1366 static FString GetPaginatedProgressionForAssetInstance(int PlayerId, int AssetInstanceId, int32 Count, const FString& After, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1367
1376 static FString GetProgressionByKeyForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionResponseDelegate& OnCompletedRequest);
1377
1387 static FString AddPointsToProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1388
1398 static FString SubtractPointsFromProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1399
1408 static FString ResetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1409
1418 static FString DeleteProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerDeleteInstanceProgressionResponseDelegate& OnCompletedRequest);
1419
1421
1422 //==================================================
1423 // Currencies
1424 //==================================================
1427
1434 static FString ListCurrencies(const FLootLockerServerListCurrenciesResponseDelegate& OnCompletedRequest);
1435
1437
1438 //==================================================
1439 // Balances
1440 //==================================================
1443
1451 static FString ListBalancesInWallet(const FString& WalletID, const FLootLockerServerListBalancesForWalletResponseDelegate& OnComplete);
1452
1460 static FString GetWalletByWalletID(const FString& WalletID, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1461
1470 static FString GetWalletByHolderID(const FString& HolderULID, const ELootLockerServerWalletHolderTypes& HolderType, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1471
1481 static FString CreditBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerCreditWalletResponseDelegate& OnComplete);
1482
1492 static FString DebitBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerDebitWalletResponseDelegate& OnComplete);
1493
1495
1496 //==================================================
1497 // Metadata
1498 //==================================================
1501
1511 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1512
1524 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1525
1536 static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FString>& Tags, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1537
1550 static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FString>& Tags, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1551
1562 static FString GetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FString& Key, const FLootLockerServerGetMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1563
1572 static FString GetMultisourceMetadata(const TArray<FLootLockerServerMetadataSourceAndKeys>& SourcesAndKeysToGet, const FLootLockerServerGetMultisourceMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1573
1585 static FString SetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FLootLockerServerSetMetadataAction>& MetadataToActionsToPerform, const FLootLockerServerSetMetadataResponseDelegate& OnComplete);
1586
1587 /*
1588 Get the value as a UStruct of your choice. Returns true if value could be found in which case Output contains the parsed UStruct, returns false if the value field was not present or not parseable.
1589 @param Entry The entry for which you want to get the UStruct value.
1590 @param Output The UStruct object that you want to be filled with data if the value was successfully parsed.
1591 @return True if the value could be parsed as the provided UStruct
1592 */
1593 template<typename T>
1595 {
1596 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
1597 if (!Entry.TryGetValueAsJsonObject(jsonObject))
1598 {
1599 return false;
1600 }
1601 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
1602 }
1603
1604 /*
1605 Factory method that makes an FLootLockerServerMetadataEntry with a UStruct Value
1606 @param Entry The key you want for this entry
1607 @param Tags The tags you want for this entry
1608 @param Access The access level you want to set for this entry
1609 @param Value The UStruct object that you to be converted to json and set as the value for this metadata entry
1610 @return The filled out metadata entry (or empty if it could not be constructed).
1611 */
1612 template<typename T>
1613 static FLootLockerServerMetadataEntry MakeMetadataEntryWithUStructValue(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const T& Value)
1614 {
1615 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Value);
1616 if (!JsonObject.IsValid())
1617 {
1619 }
1621 Entry.SetValueAsJsonObject(*JsonObject);
1622 return Entry;
1623 }
1624
1626
1627 //==================================================
1628 // Notifications
1629 //==================================================
1632
1633 /*
1634 Send a custom notification using the notification system to the specified player.
1635
1636 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1637 @param Priority What priority to set for this notification
1638 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1639 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1640 @param OnComplete delegate for handling the server response
1641 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1642 */
1643 static FString SendNotificationToPlayerWithoutContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1644
1645 /*
1646 Send a custom notification using the notification system to the specified player.
1647
1648 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1649 @param Priority What priority to set for this notification
1650 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1651 @param Content The content to send along with this notification
1652 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1653 @param OnComplete delegate for handling the server response
1654 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1655 */
1656 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, bool Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1657
1658 /*
1659 Send a custom notification using the notification system to the specified player.
1660
1661 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1662 @param Priority What priority to set for this notification
1663 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1664 @param Content The content to send along with this notification
1665 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1666 @param OnComplete delegate for handling the server response
1667 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1668 */
1669 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, int Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1670
1671 /*
1672 Send a custom notification using the notification system to the specified player.
1673
1674 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1675 @param Priority What priority to set for this notification
1676 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1677 @param Content The content to send along with this notification
1678 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1679 @param OnComplete delegate for handling the server response
1680 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1681 */
1682 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, long long Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1683
1684 /*
1685 Send a custom notification using the notification system to the specified player.
1686
1687 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1688 @param Priority What priority to set for this notification
1689 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1690 @param Content The content to send along with this notification
1691 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1692 @param OnComplete delegate for handling the server response
1693 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1694 */
1695 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, double Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1696
1697 /*
1698 Send a custom notification using the notification system to the specified player.
1699
1700 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1701 @param Priority What priority to set for this notification
1702 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1703 @param Content The content to send along with this notification
1704 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1705 @param OnComplete delegate for handling the server response
1706 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1707 */
1708 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, float Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1709
1710 /*
1711 Send a custom notification using the notification system to the specified player.
1712
1713 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1714 @param Priority What priority to set for this notification
1715 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1716 @param Content The content to send along with this notification
1717 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1718 @param OnComplete delegate for handling the server response
1719 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1720 */
1721 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const char* Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1722
1723 /*
1724 Send a custom notification using the notification system to the specified player.
1725
1726 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1727 @param Priority What priority to set for this notification
1728 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1729 @param Content The content to send along with this notification
1730 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1731 @param OnComplete delegate for handling the server response
1732 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1733 */
1734 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const FString& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1735
1736 /*
1737 Send a custom notification using the notification system to the specified player.
1738
1739 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1740 @param Priority What priority to set for this notification
1741 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1742 @param Content The content to send along with this notification
1743 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1744 @param OnComplete delegate for handling the server response
1745 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1746 */
1747 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TSharedPtr<FJsonValue>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1748
1749 /*
1750 Send a custom notification using the notification system to the specified player.
1751
1752 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1753 @param Priority What priority to set for this notification
1754 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1755 @param Content The content to send along with this notification
1756 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1757 @param OnComplete delegate for handling the server response
1758 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1759 */
1760 template<typename T>
1761 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const T& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
1762 {
1763 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Content);
1764 if (!JsonObject.IsValid())
1765 {
1767 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
1768 return "";
1769 }
1770
1771 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonContent(NotificationType, Priority, RecipientPlayerUlid, MakeShared<FJsonValueObject>(JsonObject), Properties, OnCompletedRequest);
1772 }
1773
1774
1775 /*
1776 Send a custom notification using the notification system to the specified player.
1777
1778 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1779 @param Priority What priority to set for this notification
1780 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1781 @param Content The content to send along with this notification
1782 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1783 @param OnComplete delegate for handling the server response
1784 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1785 */
1786 static FString SendNotificationToPlayerWithBoolArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<bool>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1787
1788 /*
1789 Send a custom notification using the notification system to the specified player.
1790
1791 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1792 @param Priority What priority to set for this notification
1793 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1794 @param Content The content to send along with this notification
1795 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1796 @param OnComplete delegate for handling the server response
1797 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1798 */
1799 static FString SendNotificationToPlayerWithIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<int>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1800
1801 /*
1802 Send a custom notification using the notification system to the specified player.
1803
1804 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1805 @param Priority What priority to set for this notification
1806 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1807 @param Content The content to send along with this notification
1808 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1809 @param OnComplete delegate for handling the server response
1810 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1811 */
1812 static FString SendNotificationToPlayerWithLargeIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<long long>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1813
1814 /*
1815 Send a custom notification using the notification system to the specified player.
1816
1817 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1818 @param Priority What priority to set for this notification
1819 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1820 @param Content The content to send along with this notification
1821 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1822 @param OnComplete delegate for handling the server response
1823 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1824 */
1825 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<double>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1826
1827 /*
1828 Send a custom notification using the notification system to the specified player.
1829
1830 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1831 @param Priority What priority to set for this notification
1832 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1833 @param Content The content to send along with this notification
1834 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1835 @param OnComplete delegate for handling the server response
1836 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1837 */
1838 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<float>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1839
1840 /*
1841 Send a custom notification using the notification system to the specified player.
1842
1843 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1844 @param Priority What priority to set for this notification
1845 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1846 @param Content The content to send along with this notification
1847 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1848 @param OnComplete delegate for handling the server response
1849 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1850 */
1851 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FString>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1852
1853 /*
1854 Send a custom notification using the notification system to the specified player.
1855
1856 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1857 @param Priority What priority to set for this notification
1858 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1859 @param Content The content to send along with this notification
1860 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1861 @param OnComplete delegate for handling the server response
1862 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1863 */
1864 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<TSharedPtr<FJsonValue>>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1865
1866 /*
1867 Send a custom notification using the notification system to the specified player.
1868
1869 @param NotificationType The "type" of this notification. Use this to identify your notifications and segment them from each other. You can set this to any value as long as it follows pattern ^[-_a-z0-9]+\\.[-_a-z0-9]+\\.[-_a-z0-9]+$.
1870 @param Priority What priority to set for this notification
1871 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1872 @param Content The content to send along with this notification
1873 @param Properties An array of key value pairs to send with this notification. The player can read these key value pairs in the context dictionary.
1874 @param OnComplete delegate for handling the server response
1875 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1876 */
1877 template<typename T>
1878 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<T>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
1879 {
1880 TArray<TSharedPtr<FJsonValue>> JsonArray;
1881 int i = 0;
1882 for (const T& cont : Content)
1883 {
1884 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(cont);
1885 if (!JsonObject.IsValid())
1886 {
1888 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
1889 return "";
1890 }
1891 ++i;
1892 JsonArray.Add(MakeShared<FJsonValueObject>(JsonObject));
1893 }
1894
1895 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonArrayContent(NotificationType, Priority, RecipientPlayerUlid, JsonArray, Properties, OnCompletedRequest);
1896 }
1897
1899};
void(* FLootLockerServerGetAssetsResponseDelegate)(FLootLockerServerGetAssetsResponse)
Definition LootLockerServerAssetRequest.h:790
void(* FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate)(FLootLockerServerAssetInstanceKeyValuePairItemResponse)
Definition LootLockerServerAssetRequest.h:798
void(* FLootLockerServerListContextsResponseDelegate)(FLootLockerServerListContextsResponse)
Definition LootLockerServerAssetRequest.h:806
void(* FLootLockerServerListAssetsResponseDelegate)(FLootLockerServerListAssetsResponse)
Definition LootLockerServerAssetRequest.h:802
void(* FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate)(FLootLockerServerAssetInstanceKeyValuePairsListResponse)
Definition LootLockerServerAssetRequest.h:794
void(* FLootLockerServerMaintainSessionResponseDelegate)(FLootLockerServerMaintainSessionResponse)
Definition LootLockerServerAuthRequest.h:55
void(* FLootLockerServerAuthResponseDelegate)(FLootLockerServerAuthenticationResponse)
Definition LootLockerServerAuthRequest.h:51
void(* FLootLockerServerDebitWalletResponseDelegate)(FLootLockerServerDebitWalletResponse)
C++ response delegate for debiting currency from a wallet.
Definition LootLockerServerBalanceRequest.h:324
ELootLockerServerWalletHolderTypes
Possible wallet holder types.
Definition LootLockerServerBalanceRequest.h:20
void(* FLootLockerServerGetWalletResponseDelegate)(FLootLockerServerGetWalletResponse)
C++ response delegate for getting a wallet.
Definition LootLockerServerBalanceRequest.h:316
void(* FLootLockerServerCreditWalletResponseDelegate)(FLootLockerServerCreditWalletResponse)
C++ response delegate for crediting currency to a wallet.
Definition LootLockerServerBalanceRequest.h:320
void(* FLootLockerServerListBalancesForWalletResponseDelegate)(FLootLockerServerListBalancesForWalletResponse)
C++ response delegate for listing balances in a wallet.
Definition LootLockerServerBalanceRequest.h:312
void(* FLootLockerServerSingleCharacterProgressionResponseDelegate)(FLootLockerServerSingleCharacterProgressionResponse)
Definition LootLockerServerCharacterProgressionRequest.h:156
void(* FLootLockerServerCharacterProgressionListResponseDelegate)(FLootLockerServerCharacterProgressionListResponse)
Definition LootLockerServerCharacterProgressionRequest.h:160
void(* FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate)(FLootLockerServerSingleCharacterProgressionWithRewardsResponse)
Definition LootLockerServerCharacterProgressionRequest.h:164
void(* FLootLockerServerDeleteCharacterProgressionResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerCharacterProgressionRequest.h:168
void(* FLootLockerServerGetPlayerCharacterResponseDelegate)(FLootLockerServerGetPlayerCharactersResponse)
Definition LootLockerServerCharacterRequest.h:307
void(* FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate)(FLootLockerServerEquipAssetToCharacterLoadoutResponse)
Definition LootLockerServerCharacterRequest.h:319
void(* FLootLockerServerGetCharacterInventoryResponseDelegate)(FLootLockerServerGetCharacterInventoryResponse)
Definition LootLockerServerCharacterRequest.h:311
void(* FLootLockerServerUnequipAssetFromCharacterLoadoutResponseDelegate)(FLootLockerServerUnequipAssetFromCharacterLoadoutResponse)
Definition LootLockerServerCharacterRequest.h:323
void(* FLootLockerServerGetCharacterLoadoutResponseDelegate)(FLootLockerServerGetCharacterLoadoutResponse)
Definition LootLockerServerCharacterRequest.h:315
void(* FLootLockerServerListConnectedAccountsResponseDelegate)(FLootLockerServerListConnectedAccountsResponse)
C++ response delegate for listing connected accounts.
Definition LootLockerServerConnectedAccountsRequest.h:109
void(* FLootLockerServerListCurrenciesResponseDelegate)(FLootLockerServerListCurrenciesResponse)
C++ response delegate for listing currencies.
Definition LootLockerServerCurrencyRequest.h:83
void(* FLootLockerServerPickFromDropTableResponseDelegate)(FLootLockerServerPickFromDropTableResponse)
Definition LootLockerServerDropTableRequest.h:149
void(* FLootLockerServerComputeAndLockDropTableResponseDelegate)(FLootLockerServerComputeAndLockDropTableResponse)
Definition LootLockerServerDropTableRequest.h:145
void(* FLootLockerServerListFriendsResponseDelegate)(FLootLockerServerListFriendsResponse)
C++ response delegate for listing currencies.
Definition LootLockerServerFriendsRequest.h:86
void(* FLootLockerServerProgressionTiersResponseDelegate)(FLootLockerServerProgressionTiersResponse)
Definition LootLockerServerGameProgressionRequest.h:118
void(* FLootLockerServerSingleGameProgressionResponseDelegate)(FLootLockerServerSingleGameProgressionResponse)
Definition LootLockerServerGameProgressionRequest.h:114
void(* FLootLockerServerGameProgressionListResponseDelegate)(FLootLockerServerGameProgressionListResponse)
Definition LootLockerServerGameProgressionRequest.h:110
void(* FLootLockerServerGetPlayerHeroResponseDelegate)(FLootLockerServerGetPlayerHeroesResponse)
Definition LootLockerServerHeroRequest.h:332
void(* FLootLockerServerGetHeroInventoryResponseDelegate)(FLootLockerServerGetHeroInventoryResponse)
Definition LootLockerServerHeroRequest.h:336
void(* FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate)(FLootLockerServerEquipAssetToHeroLoadoutResponse)
Definition LootLockerServerHeroRequest.h:344
void(* FLootLockerServerUnequipAssetFromHeroLoadoutResponseDelegate)(FLootLockerServerUnequipAssetFromHeroLoadoutResponse)
Definition LootLockerServerHeroRequest.h:348
void(* FLootLockerServerGetHeroLoadoutResponseDelegate)(FLootLockerServerGetHeroLoadoutResponse)
Definition LootLockerServerHeroRequest.h:340
void(* FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate)(FLootLockerServerSingleInstanceProgressionWithRewardsResponse)
Definition LootLockerServerInstanceProgressionRequest.h:165
void(* FLootLockerServerDeleteInstanceProgressionResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerInstanceProgressionRequest.h:169
void(* FLootLockerServerInstanceProgressionListResponseDelegate)(FLootLockerServerInstanceProgressionListResponse)
Definition LootLockerServerInstanceProgressionRequest.h:161
void(* FLootLockerServerSingleInstanceProgressionResponseDelegate)(FLootLockerServerSingleInstanceProgressionResponse)
Definition LootLockerServerInstanceProgressionRequest.h:157
void(* FLootLockerServerLeaderboardArchiveResponseDelegate)(FLootLockerServerLeaderboardArchiveResponse)
Definition LootLockerServerLeaderboardArchiveRequestHandler.h:85
void(* FLootLockerServerLeaderboardArchiveDetailResponseDelegate)(FLootLockerServerLeaderboardArchiveDetailsResponse)
Definition LootLockerServerLeaderboardArchiveRequestHandler.h:86
void(* FLootLockerServerLeaderboardSubmitScoreResponseDelegate)(FLootLockerServerLeaderboardSubmitScoreResponse)
Definition LootLockerServerLeaderboardRequest.h:833
void(* FLootLockerServerGetLeaderboardScheduleResponseDelegate)(FLootLockerServerGetLeaderboardScheduleResponse)
Definition LootLockerServerLeaderboardRequest.h:849
void(* FLootLockerServerGetScoresFromLeaderboardResponseDelegate)(FLootLockerServerGetScoresFromLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:845
void(* FLootLockerServerGetAllMemberRanksResponseDelegate)(FLootLockerServerGetAllMemberRanksResponse)
Definition LootLockerServerLeaderboardRequest.h:841
void(* FLootLockerServerGetLeaderboardResponseDelegate)(FLootLockerServerGetLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:817
ELootLockerServerLeaderboardType
Definition LootLockerServerLeaderboardRequest.h:14
void(* FLootLockerServerDeleteLeaderboardResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerLeaderboardRequest.h:829
void(* FLootLockerServerDeleteLeaderboardScheduleResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerLeaderboardRequest.h:853
ELootLockerServerLeaderboardDirection
Which direction should the leaderboard be sorted in.
Definition LootLockerServerLeaderboardRequest.h:32
void(* FLootLockerServerUpdateLeaderboardResponseDelegate)(FLootLockerServerUpdateLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:825
void(* FLootLockerServerCreateLeaderboardResponseDelegate)(FLootLockerServerCreateLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:821
void(* FLootLockerServerLeaderboardIncrementScoreResponseDelegate)(FLootLockerServerLeaderboardSubmitScoreResponse)
Definition LootLockerServerLeaderboardRequest.h:837
void(* FLootLockerServerListLeaderboardsResponseDelegate)(FLootLockerServerListLeaderboardsResponse)
Definition LootLockerServerLeaderboardRequest.h:813
void(* FLootLockerServerGetMetadataResponseDelegate)(FLootLockerServerGetMetadataResponse)
Definition LootLockerServerMetadataRequest.h:473
void(* FLootLockerServerSetMetadataResponseDelegate)(FLootLockerServerSetMetadataResponse)
Definition LootLockerServerMetadataRequest.h:481
ELootLockerServerMetadataSources
Possible metadata sources.
Definition LootLockerServerMetadataRequest.h:20
void(* FLootLockerServerGetMultisourceMetadataResponseDelegate)(FLootLockerServerGetMultisourceMetadataResponse)
Definition LootLockerServerMetadataRequest.h:477
void(* FLootLockerServerListMetadataResponseDelegate)(FLootLockerServerListMetadataResponse)
Definition LootLockerServerMetadataRequest.h:469
void(* FLootLockerServerSendNotificationsResponseDelegate)(FLootLockerServerSendNotificationsResponse)
Definition LootLockerServerNotificationsRequest.h:100
ELootLockerServerNotificationPriority
Enum of the different available priorities for sending notifications.
Definition LootLockerServerNotificationsRequest.h:19
void(* FLootLockerServerTokenExchangeResponseDelegate)(FLootLockerServerTokenExchangeResponse)
Definition LootLockerServerOAuthRequest.h:49
void(* FLootLockerServerSinglePlayerFileResponseDelegate)(FLootLockerServerSinglePlayerFileResponse)
Definition LootLockerServerPlayerFileRequest.h:168
void(* FLootLockerServerPlayerFileDeleteResponseDelegate)(FLootLockerServerPlayerFileDeleteResponse)
Definition LootLockerServerPlayerFileRequest.h:172
void(* FLootLockerServerPlayerFileListResponseDelegate)(FLootLockerServerPlayerFileListResponse)
Definition LootLockerServerPlayerFileRequest.h:164
void(* FLootLockerServerAddAssetToPlayerInventoryResponseDelegate)(FLootLockerServerAddAssetToPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:476
void(* FLootLockerServerGetPlayerInventoryResponseDelegate)(FLootLockerServerGetPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:472
void(* FLootLockerServerAlterPlayerInventoryResponseDelegate)(FLootLockerServerAlterPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:480
void(* FLootLockerServerGetPlayerLoadoutResponseDelegate)(FLootLockerServerGetPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:484
void(* FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate)(FLootLockerServerEquipAssetToPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:488
void(* FLootLockerServerGetUniversalInventoryResponseDelegate)(FLootLockerServerGetUniversalInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:468
void(* FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate)(FLootLockerServerUnequipAssetFromPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:492
void(* FLootLockerServerDeletePlayerProgressionResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerPlayerProgressionRequest.h:168
void(* FLootLockerServerPlayerProgressionListResponseDelegate)(FLootLockerServerPlayerProgressionListResponse)
Definition LootLockerServerPlayerProgressionRequest.h:160
void(* FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate)(FLootLockerServerSinglePlayerProgressionWithRewardsResponse)
Definition LootLockerServerPlayerProgressionRequest.h:164
void(* FLootLockerServerSinglePlayerProgressionResponseDelegate)(FLootLockerServerSinglePlayerProgressionResponse)
Definition LootLockerServerPlayerProgressionRequest.h:156
ELootLockerServerCreatePlayerPlatforms
Possible player creation platforms.
Definition LootLockerServerPlayerRequest.h:20
void(* FLootLockerServerCreatePlayerResponseDelegate)(FLootLockerServerCreatePlayerResponse)
Definition LootLockerServerPlayerRequest.h:227
void(* FLootLockerServerGetPlayerInfoFromGameSessionTokenResponseDelegate)(FLootLockerServerGetPlayerInfoFromGameSessionTokenResponse)
Definition LootLockerServerPlayerRequest.h:223
void(* FLootLockerServerPlayerNameLookupResponseDelegate)(FLootLockerServerPlayerNameLookupResponse)
Definition LootLockerServerPlayerRequest.h:219
void(* FLootLockerServerGetPersistentStorageForPlayersResponseDelegate)(FLootLockerServerGetPersistentStorageForPlayersResponse)
Definition LootLockerServerStorageRequest.h:221
void(* FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponseDelegate)(FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponse)
Definition LootLockerServerStorageRequest.h:231
void(* FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponseDelegate)(FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponse)
Definition LootLockerServerStorageRequest.h:236
void(* FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate)(FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponse)
Definition LootLockerServerStorageRequest.h:226
void(* FLootLockerServerInvokeTriggerResponseDelegate)(FLootLockerServerInvokeTriggerResponse)
Definition LootLockerServerTriggerRequest.h:113
static T Error(FString ErrorMessage, int StatusCode=0, const FString &RequestId="")
Definition LootLockerServerResponse.h:228
Definition LootLockerServerForCpp.h:32
static FString SendNotificationToPlayerWithJsonContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TSharedPtr< FJsonValue > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayerWithJsonArrayContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< TSharedPtr< FJsonValue > > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString AddPointsToProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Add points to the specified progression for the specified instance.
static FString DeleteProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString &ProgressionKey, const FLootLockerServerDeleteInstanceProgressionResponseDelegate &OnCompletedRequest)
Delete the specified progression for the specified instance.
static FString GetProgressionByKeyForAssetInstance(int PlayerId, int AssetInstanceId, const FString &ProgressionKey, const FLootLockerServerSingleInstanceProgressionResponseDelegate &OnCompletedRequest)
Get a specific progression for the specified instance.
static FString ResetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString &ProgressionKey, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Reset the specified progression for the specified instance.
static FString GetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FLootLockerServerInstanceProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified instance The list will contain the first 20 items,...
static FString GetPaginatedProgressionForAssetInstance(int PlayerId, int AssetInstanceId, int32 Count, const FString &After, const FLootLockerServerInstanceProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified instance.
static FString SubtractPointsFromProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Subtract points from the specified progression for the specified instance.
static FString GetPlayerInventory(int PlayerID, const FLootLockerServerGetPlayerInventoryResponseDelegate &OnCompletedRequest)
Get the specified player's default character's inventory.
static FString DeleteKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate &OnCompletedRequest)
Delete a key value pair from the specified asset instance by key value pair id.
static FString GetPaginatedPlayerInventory(int PlayerID, int Count, int After, const FLootLockerServerGetPlayerInventoryResponseDelegate &OnCompletedRequest)
Get the specified player's default character's inventory according to the specified pagination parame...
static FString EquipAssetToPlayerLoadoutByAssetIdAndAssetVariationId(int PlayerID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the specified player's default character's loadout by specifiying an asset...
static FString AddAssetToPlayerInventoryByAssetIDAndRentalOptionID(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate &OnCompletedRequest)
Add the specified asset to the specified player's inventory (grant the asset) by specyfiying an asset...
static FString UpdateKeyValuePairOnAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate &OnCompletedRequest)
Update a single key value pair on the specified asset instance by key value pair id.
static FString AlterPlayerInventoryAddAssetsByAssetIDAndVariationID(int PlayerID, const TArray< FLootLockerServerAssetByAssetIdAndVariationIdRequest > &AssetsToAdd, const TArray< int > AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate &OnCompletedRequest)
Bulk add (grant) and/or remove assets to/from the specified player's inventory Add assets by supplyin...
static FString EquipAssetToPlayerLoadoutByAssetIdAndRentalOptionId(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the specified player's default character's loadout by specyfiying an asset...
static FString AlterPlayerInventoryAddAssetsByAssetIDAndRentalOptionID(int PlayerID, const TArray< FLootLockerServerAssetByAssetIdAndRentalOptionIdRequest > &AssetsToAdd, const TArray< int > AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate &OnCompletedRequest)
Bulk add (grant) and/or remove assets to/from the specified player's inventory Add assets by supplyin...
static FString GetPlayerLoadout(int PlayerID, const FLootLockerServerGetPlayerLoadoutResponseDelegate &OnCompletedRequest)
Get the specified player's default character's loadout.
static FString EquipAssetToPlayerLoadoutByAssetInstanceId(int PlayerID, int AssetInstanceID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate &OnCompletedRequest)
Equip the specified asset instance to the specified player's default character's loadout If the reque...
static FString GetAssetInstanceKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate &OnCompletedRequest)
Get a single Key Value Pair from the specified asset instance by key value pair id.
static FString AddKeyValuePairToAssetInstance(int PlayerID, int AssetInstanceID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate &OnCompletedRequest)
Create a key value pair on the specified asset instance.
static FString UnequipAssetFromPlayerLoadout(int PlayerID, int InstanceID, const FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate &OnCompletedRequest)
Unequip an asset instance from the specified player's default character's loadout If the request is s...
static FString EquipAssetToPlayerLoadoutByAssetId(int PlayerID, int AssetID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the specified player's default character's loadout using an asset id which...
static FString AddAssetToPlayerInventoryByAssetID(int PlayerID, int AssetID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate &OnCompletedRequest)
Add the specified asset to the specified player's inventory (grant the asset) using an asset id which...
static FString UpdateKeyValuePairsOnAssetInstance(int PlayerID, int AssetInstanceID, TArray< FLootLockerServerAssetStorageKeyValueSet > KeyValuePairs, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate &OnCompletedRequest)
Create or update a list of key value pairs on the specified asset instance.
static FString AddAssetToPlayerInventoryByAssetIDAndVariationID(int PlayerID, int AssetID, int VariationID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate &OnCompletedRequest)
Add the specified asset to the specified player's inventory (grant the asset) by specifiying an asset...
static FString GetKeyValuePairsFromAssetInstance(int PlayerID, int AssetInstanceID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate &OnCompletedRequest)
Get a list of key value pairs from the specified asset instance.
static FString GetUniversalInventory(const FLootLockerServerGetUniversalInventoryResponseDelegate &OnCompletedRequest)
Get a list of assets that are available for all player's in the game.
static FString AlterPlayerInventoryAddAssetsByAssetID(int PlayerID, const TArray< FLootLockerServerAssetByAssetIdRequest > &AssetsToAdd, const TArray< int > AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate &OnCompletedRequest)
Bulk add (grant) and/or remove assets to/from the specified player's inventory Add assets by supplyin...
static FString GetPaginatedAssets(int Count, int After, const FLootLockerServerGetAssetsResponseDelegate &OnCompletedRequest, bool IncludeUGC=false)
List a set of assets from this game according to the supplied pagination options Note that this is a ...
static FString GetAssets(const FLootLockerServerGetAssetsResponseDelegate &OnCompletedRequest, bool IncludeUGC=false)
List all the assets from this game Note that this is a paginated call and it will likely require mult...
static FString GetAssetsByContext(int Count, int After, int Context, const FLootLockerServerGetAssetsResponseDelegate &OnCompletedRequest, bool IncludeUGC=false)
Get all assets for a context.
static FString StartSession(const FLootLockerServerAuthResponseDelegate &OnCompletedRequest)
Start a session connecting to the LootLocker services with the server API key.
static FString MaintainSession(const FLootLockerServerMaintainSessionResponseDelegate &OnCompletedRequest)
Keep the session alive, you should call this endpoint at least once per hour, to extend your tokens l...
static FString CreditBalanceToWallet(const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerServerCreditWalletResponseDelegate &OnComplete)
Credit (increase) the specified amount of the provided currency to the provided wallet.
static FString GetWalletByWalletID(const FString &WalletID, const FLootLockerServerGetWalletResponseDelegate &OnComplete)
Get information about a specified wallet.
static FString DebitBalanceToWallet(const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerServerDebitWalletResponseDelegate &OnComplete)
Debit (decrease) the specified amount of the provided currency to the provided wallet.
static FString ListBalancesInWallet(const FString &WalletID, const FLootLockerServerListBalancesForWalletResponseDelegate &OnComplete)
Get a list of balances in a specified wallet.
static FString GetWalletByHolderID(const FString &HolderULID, const ELootLockerServerWalletHolderTypes &HolderType, const FLootLockerServerGetWalletResponseDelegate &OnComplete)
Get information about a wallet for a specified holder.
static FString ResetProgressionForCharacter(int PlayerID, int CharacterID, const FString &ProgressionKey, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Reset the specified progression for the specified player and character.
static FString GetProgressionsForCharacter(int PlayerID, int CharacterID, const FLootLockerServerCharacterProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified player and character The list will contain the first 20 ...
static FString SubtractPointsFromProgressionForCharacter(int PlayerID, int CharacterID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Subtract points from the specified progression for the specified player and character.
static FString AddPointsToProgressionForCharacter(int PlayerID, int CharacterID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Add points to the specified progression for the specified player and character.
static FString GetPaginatedProgressionsForCharacter(int PlayerID, int CharacterID, int32 Count, const FString &After, const FLootLockerServerCharacterProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified player and character.
static FString DeleteProgressionForCharacter(int PlayerID, int CharacterID, const FString &ProgressionKey, const FLootLockerServerDeleteCharacterProgressionResponseDelegate &OnCompletedRequest)
Delete the specified progression for the specified player and character.
static FString GetProgressionForCharacterByKey(int PlayerID, int CharacterID, const FString &ProgressionKey, const FLootLockerServerSingleCharacterProgressionResponseDelegate &OnCompletedRequest)
Get a specific progression for the specified player and character.
static FString GetPaginatedPlayerCharacterInventory(int PlayerID, int CharacterID, int Count, int After, const FLootLockerServerGetCharacterInventoryResponseDelegate &OnCompletedRequest)
Get a subset of the inventory for the specified player and character using pagination settings.
static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndAssetVariationId(int PlayerID, int CharacterID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and character using an asset id and an ass...
static FString EquipAssetToPlayerCharacterLoadoutByAssetInstanceId(int PlayerID, int CharacterID, int AssetInstanceID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and character using an asset instance id.
static FString UnequipAssetFromPlayerCharacterLoadout(int PlayerID, int CharacterID, int InstanceID, const FLootLockerServerUnequipAssetFromCharacterLoadoutResponseDelegate &OnCompletedRequest)
Unequip an asset instance from the loadout of specified player and character using the instance id.
static FString GetPlayerCharacters(int PlayerID, const FLootLockerServerGetPlayerCharacterResponseDelegate &OnCompletedRequest)
List all characters for this player.
static FString GetPlayerCharacterLoadout(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterLoadoutResponseDelegate &OnCompletedRequest)
Get the full loadout for the specified player and character.
static FString GetPlayerCharacterInventory(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterInventoryResponseDelegate &OnCompletedRequest)
Get the inventory for the specified player and character.
static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndRentalOptionId(int PlayerID, int CharacterID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and character using an asset id and a rent...
static FString ListConnectedAccounts(const TArray< FString > &PlayerULIDs, const TArray< int > &LegacyPlayerIDs, const FLootLockerServerListConnectedAccountsResponseDelegate &OnCompletedRequest)
List connected accounts for multiple players (up to 25) You can provide player ULIDs,...
static FString ListCurrencies(const FLootLockerServerListCurrenciesResponseDelegate &OnCompletedRequest)
Get a list of available currencies for the game.
static FString ComputeAndLockDropTableForTagWithAssetInformation(int PlayerID, int DropTableID, const FString &Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest)
Use this method to compute and lock the specified drop table item from the specified player's invento...
static FString PickDropsFromDropTable(int PlayerID, int DropTableID, TArray< int > DropTableItemIDsToPick, const FLootLockerServerPickFromDropTableResponseDelegate &OnCompletedRequest)
Pick drop table items from the specified drop table and player.
static FString ComputeAndLockDropTableWithAssetInformation(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest)
Use this method to compute and lock the specified drop table item from the specified player's invento...
static FString ComputeAndLockDropTableForTag(int PlayerID, int DropTableID, const FString &Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest)
Use this method to compute and lock the specified drop table item from the specified player's invento...
static FString ComputeAndLockDropTable(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest)
Use this method to compute and lock the specified drop table item from the specified player's invento...
static FString ListFriendsForPlayer(const FString &PlayerULID, int Page, int PerPage, const FLootLockerServerListFriendsResponseDelegate &OnCompletedRequest)
List friends for the specified player.
static FString GetPlayerHeroes(int PlayerID, const FLootLockerServerGetPlayerHeroResponseDelegate &OnCompletedRequest)
List all heroes for this player.
static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndRentalOptionId(int PlayerID, int HeroID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and hero using an asset id and a rental op...
static FString GetPlayerHeroLoadout(int PlayerID, int HeroID, const FLootLockerServerGetHeroLoadoutResponseDelegate &OnCompletedRequest)
Get the full loadout for the specified player and hero.
static FString UnequipAssetFromPlayerHeroLoadout(int PlayerID, int HeroID, int InstanceID, const FLootLockerServerUnequipAssetFromHeroLoadoutResponseDelegate &OnCompletedRequest)
Unequip an asset instance from the loadout of specified player and hero using the instance id.
static FString GetPlayerHeroInventory(int PlayerID, int HeroID, const FLootLockerServerGetHeroInventoryResponseDelegate &OnCompletedRequest)
Get the inventory for the specified player and hero.
static FString GetPaginatedPlayerHeroInventory(int PlayerID, int HeroID, int Count, int After, const FLootLockerServerGetHeroInventoryResponseDelegate &OnCompletedRequest)
Get a subset of the inventory for the specified player and hero using pagination settings.
static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndAssetVariationId(int PlayerID, int HeroID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and hero using an asset id and an asset va...
static FString EquipAssetToPlayerHeroLoadoutByAssetInstanceId(int PlayerID, int HeroID, int AssetInstanceID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate &OnCompletedRequest)
Equip an asset instance to the loadout of specified player and hero using an asset instance id.
static FString CreateLeaderboardSchedule(const FString &LeaderboardKey, const FString &CronExpression, const FLootLockerServerGetLeaderboardScheduleResponseDelegate &OnCompletedRequest)
Set the provided schedule for the specified leaderboard NOTE: Cron expressions are used for setting u...
static FString GetPaginatedScoresFromLeaderboard(FString LeaderboardKey, int Count, int After, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate &OnCompletedRequest)
From the requested leaderboard get <count> number of scores.
static FString GetAllMemberRanks(FString MemberID, const FLootLockerServerGetAllMemberRanksResponseDelegate &OnCompletedRequest)
For all leaderboards that this member has scores on, get the score, member information,...
static FString DeleteLeaderboard(FString LeaderboardKey, const FLootLockerServerDeleteLeaderboardResponseDelegate &OnCompletedRequest)
Delete an existing leaderboard.
static FString GetLeaderboardSchedule(const FString &LeaderboardKey, const FLootLockerServerGetLeaderboardScheduleResponseDelegate &OnCompletedRequest)
Get the schedule for the specified leaderboard.
static FString GetPaginatedAllMemberRanks(FString MemberID, const int Count, const int After, const FLootLockerServerGetAllMemberRanksResponseDelegate &OnCompletedRequest)
For all leaderboards that this member has scores on, get the score, member information,...
static FString IncrementScore(FString LeaderboardKey, FString MemberID, int Amount, const FLootLockerServerLeaderboardIncrementScoreResponseDelegate &OnCompletedRequest)
Increment a member's score on the given leaderboard by the specified amount.
static FString CreateLeaderboard(FString LeaderboardKey, FString Name, ELootLockerServerLeaderboardType Type, bool HasMetadata, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerCreateLeaderboardResponseDelegate &OnCompletedRequest)
Create a new leaderboard with the provided details.
static FString ListLeaderboards(const FLootLockerServerListLeaderboardsResponseDelegate &OnCompletedRequest)
List information about all leaderboards in the game.
static FString ListLeaderboardArchive(const FString &LeaderboardKey, const FLootLockerServerLeaderboardArchiveResponseDelegate &OnCompletedRequest)
List the archive of a specific Leaderboard,.
static FString UpdateLeaderboard(FString LeaderboardKey, FString NewLeaderboardKey, FString Name, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerUpdateLeaderboardResponseDelegate &OnCompletedRequest)
Update an existing leaderboard with the provided details.
static FString ListAssets(const FLootLockerServerListAssetsRequest &Request, int PerPage, int Page, const FLootLockerServerListAssetsResponseDelegate &OnCompletedRequest)
List assets with configurable response data.
static FString DeleteLeaderboardSchedule(const FString &LeaderboardKey, const FLootLockerServerDeleteLeaderboardScheduleResponseDelegate &OnCompletedRequest)
Remove the schedule (if any) from the specified leadeboard.
static FString ListContexts(int PerPage, int Page, const FLootLockerServerListContextsResponseDelegate &OnCompletedRequest)
List contexts with pagination support.
static FString SubmitScore(FString LeaderboardKey, FString MemberID, int Score, FString Metadata, const FLootLockerServerLeaderboardSubmitScoreResponseDelegate &OnCompletedRequest)
Submit a score to the given leaderboard.
static FString GetScoresFromLeaderboard(FString LeaderboardKey, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate &OnCompletedRequest)
From the requested leaderboard get <count> number of scores.
static FString ListLeaderboards(int32 Count, int32 After, const FLootLockerServerListLeaderboardsResponseDelegate &OnCompletedRequest)
List information about all leaderboards in the game.
static FString ListAssetsWithDefaultParameters(const FLootLockerServerListAssetsResponseDelegate &OnCompletedRequest)
List assets with default parameters (no filters, first page, default page size) Lightweight alternati...
static FString GetLeaderboardArchive(const FString &Key, int Count, const FString &After, const FLootLockerServerLeaderboardArchiveDetailResponseDelegate &OnCompletedRequest)
Get the specified Archive which includes details such as ranks, scores and rewards.
static FString GetLeaderboard(const FString &LeaderboardKey, const FLootLockerServerGetLeaderboardResponseDelegate &OnCompletedRequest)
Get information about a given leaderboard.
static FLootLockerServerMetadataEntry MakeMetadataEntryWithUStructValue(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const T &Value)
Definition LootLockerServerForCpp.h:1613
static bool TryGetMetadataValueAsUStruct(const FLootLockerServerMetadataEntry &Entry, T &Output)
Definition LootLockerServerForCpp.h:1594
static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString &SourceID, const FLootLockerServerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
List Metadata for the specified source with default pagination.
static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString &SourceID, const TArray< FString > &Tags, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
List the requested page of Metadata for the specified source that has all of the provided tags and pa...
static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString &SourceID, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
List the requested page of Metadata for the specified source with the specified pagination.
static FString SetMetadata(const ELootLockerServerMetadataSources Source, const FString &SourceID, const TArray< FLootLockerServerSetMetadataAction > &MetadataToActionsToPerform, const FLootLockerServerSetMetadataResponseDelegate &OnComplete)
Set the provided metadata for the specified source.
static FString GetMultisourceMetadata(const TArray< FLootLockerServerMetadataSourceAndKeys > &SourcesAndKeysToGet, const FLootLockerServerGetMultisourceMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
Get Metadata for the specified keys on the specified sources.
static FString GetMetadata(const ELootLockerServerMetadataSources Source, const FString &SourceID, const FString &Key, const FLootLockerServerGetMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
Get Metadata for the specified source with the given key.
static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString &SourceID, const TArray< FString > &Tags, const FLootLockerServerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false)
List Metadata for the specified source that has all of the provided tags, use default pagination.
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< T > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
Definition LootLockerServerForCpp.h:1878
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< FString > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, int Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayerWithLargeIntArrayContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< long long > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< TSharedPtr< FJsonValue > > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayerWithBoolArrayContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< bool > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< double > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TSharedPtr< FJsonValue > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayerWithoutContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, bool Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, float Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, long long Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, double Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< float > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const FString &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const char *Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayerWithIntArrayContent(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const TArray< int > &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
static FString SendNotificationToPlayer(const FString &NotificationType, ELootLockerServerNotificationPriority Priority, const FString &RecipientPlayerUlid, const T &Content, const TArray< FLootLockerServerNotificationProperty > &Properties, const FLootLockerServerSendNotificationsResponseDelegate &OnCompletedRequest)
Definition LootLockerServerForCpp.h:1761
static FString ListFilesForPlayer(int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate &OnCompletedRequest)
List files currently associated with the specified player.
static FString UpdateFileForPlayer(int PlayerID, int FileID, FString FilePath, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Update the specified file for the specified player with the supplied file content.
static FString GetFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Get the specified file currently associated with the specified player.
static FString UploadFileForPlayer(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Upload the specified file to the specified player Each file can be a maximum of 5MB and each player c...
static FString UpdatePlayerFileWithRawData(int PlayerID, int FileID, TArray< uint8 > RawData, const FString &FileName, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Update the specified file for the specified player with the supplied raw data.
static FString DeleteFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerPlayerFileDeleteResponseDelegate &OnCompletedRequest)
Delete the specified file currently associated with the specified player The response will be empty u...
static FString UploadRawDataToPlayerFile(int PlayerID, TArray< uint8 > RawData, const FString &FileName, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Upload the supplied raw data as a file to the specified player Each file can be a maximum of 5MB and ...
static FString DeleteProgressionForPlayer(int PlayerID, const FString &ProgressionKey, const FLootLockerServerDeletePlayerProgressionResponseDelegate &OnCompletedRequest)
Delete the specified progression for the specified player.
static FString GetProgressionForPlayerByKey(int PlayerID, const FString &ProgressionKey, const FLootLockerServerSinglePlayerProgressionResponseDelegate &OnCompletedRequest)
Get a specific progression for the specified player.
static FString ResetProgressionForPlayer(int PlayerID, const FString &ProgressionKey, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Reset the specified progression for the specified player.
static FString SubtractPointsFromProgressionForPlayer(int PlayerID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Subtract points from the specified progression for the specified player.
static FString AddPointsToProgressionForPlayer(int PlayerID, const FString &ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate &OnCompletedRequest)
Add points to the specified progression for the specified player.
static FString GetPaginatedProgressionsForPlayer(int PlayerID, int32 Count, const FString &After, const FLootLockerServerPlayerProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified player.
static FString GetProgressionsForPlayer(int PlayerID, const FLootLockerServerPlayerProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the specified player The list will contain the first 20 items,...
static FString GetPublicPersistentStorageForPlayersAndKeys(TArray< int > PlayerIDs, TArray< FString > Keys, const FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate &OnCompletedRequest)
Get all the public (if any) persistent storage for the provided players, but filter the list by the p...
static FString UpdatePersistentStorageForPlayersAndKeys(TArray< FLootLockerServerPlayerPersistentStorageEntry_NamedSets > StorageEntriesToUpdate, const FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponseDelegate &OnCompletedRequest)
Update the persistent storage for the provided player according to the objects provided.
static FString GetPersistentStorageForPlayer(int PlayerID, const FLootLockerServerGetPersistentStorageForPlayersResponseDelegate &OnCompletedRequest)
Get the persistent storage for the provided player.
static FString GetPersistentStorageForPlayers(TArray< int > PlayerIDs, const FLootLockerServerGetPersistentStorageForPlayersResponseDelegate &OnCompletedRequest)
Get the persistent storage for all the player ids provided.
static FString GetEntirePublicPersistentStorageForPlayers(TArray< int > PlayerIDs, const FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate &OnCompletedRequest)
Get all the public (if any) persistent storage for the provided players.
static FString DeletePersistentStorageForPlayersAndKeys(TArray< int > PlayerIDs, TArray< FString > Keys, const FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponseDelegate &OnCompletedRequest)
Delete the persistent storage for the provided keys on the provided players If the request fails you ...
static FString GetPlayerInfoFromGameSessionToken(TArray< FString > GameSessionTokensToLookUp, const FLootLockerServerGetPlayerInfoFromGameSessionTokenResponseDelegate &OnCompletedRequest)
Lookup players by their game session tokens Use this to verify in the server that the client player i...
static FString CreatePlayer(ELootLockerServerCreatePlayerPlatforms Platform, const FString &PlatformPlayerIdentifier, const FLootLockerServerCreatePlayerResponseDelegate &OnCompletedRequest)
Creates a player in LootLocker for the platform player.
static FString LookupPlayerNames(TArray< FLootLockerServerPlayerNameLookupPair > IdsToLookUp, const FLootLockerServerPlayerNameLookupResponseDelegate &OnCompletedRequest)
Lookup a number of player names from the player's id.
static FString GetProgressions(const FLootLockerServerGameProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the game The list will contain the first 20 items, if you want to get ...
static FString GetPaginatedProgressions(int32 Count, const FString &After, const FLootLockerServerGameProgressionListResponseDelegate &OnCompletedRequest)
Get a list of progressions for the game using pagination settings.
static FString GetTiersForProgression(const FString &ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate &OnCompletedRequest)
Get a list of tiers for the specified progression The list will contain the first 20 items,...
static FString GetPaginatedTiersForProgression(const FString &ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate &OnCompletedRequest)
Get a list of tiers for the specified progression using pagination settings.
static FString GetProgressionByKey(const FString &ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate &OnCompletedRequest)
Get the specified progression.
static FString GameApiTokenExchange(const FString &GameApiSessionToken, const FLootLockerServerTokenExchangeResponseDelegate &OnCompletedRequest)
Get a new active game api session token for the player holding the supplied game api session token.
static FString GameApiUserImpersonation(const FString &PlayerUlid, const FLootLockerServerTokenExchangeResponseDelegate &OnCompletedRequest)
Get a new active game api session token for the specified player.
static FString InvokeTriggerForPlayer(FString TriggerName, int PlayerID, const FLootLockerServerInvokeTriggerResponseDelegate &OnCompletedRequest)
Trigger the requested trigger on behalf of the provided player.
Request payload for simple asset listing.
Definition LootLockerServerAssetRequest.h:674
Definition LootLockerServerMetadataRequest.h:102
void SetValueAsJsonObject(const FJsonObject &Value)
bool TryGetValueAsJsonObject(TSharedPtr< FJsonObject > &Output) const
static FLootLockerServerMetadataEntry _INTERNAL_MakeEntryExceptValue(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const ELootLockerServerMetadataTypes Type)
Definition LootLockerServerNotificationsRequest.h:88
static const int LL_ERROR_INVALID_INPUT
Definition LootLockerServerResponse.h:219