LootLocker Unreal Server SDK 6.6.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"
31
32class LOOTLOCKERSERVERSDK_API ULootLockerServerForCpp : public UObject
33{
34public:
35
36 //==================================================
37 // Authentication
38 //==================================================
41
48 static FString StartSession(const FLootLockerServerAuthResponseDelegate& OnCompletedRequest);
49
56 static FString MaintainSession(const FLootLockerServerMaintainSessionResponseDelegate& OnCompletedRequest);
57
59
60 //==================================================
61 // Token Exchange
62 //==================================================
65
75 static FString GameApiTokenExchange(const FString& GameApiSessionToken, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
76
86 static FString GameApiUserImpersonation(const FString& PlayerUlid, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
87
89
90 //==================================================
91 // Leaderboards
92 //==================================================
95
103
112 static FString ListLeaderboards(int32 Count, int32 After, const FLootLockerServerListLeaderboardsResponseDelegate& OnCompletedRequest);
113
121 static FString GetLeaderboard(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardResponseDelegate& OnCompletedRequest);
122
136 static FString CreateLeaderboard(FString LeaderboardKey, FString Name, ELootLockerServerLeaderboardType Type, bool HasMetadata, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerCreateLeaderboardResponseDelegate& OnCompletedRequest);
137
147 static FString ListAssets(const FLootLockerServerListAssetsRequest& Request, int PerPage, int Page, const FLootLockerServerListAssetsResponseDelegate& OnCompletedRequest);
148
156
165 static FString ListContexts(int PerPage, int Page, const FLootLockerServerListContextsResponseDelegate& OnCompletedRequest);
166
179 static FString UpdateLeaderboard(FString LeaderboardKey, FString NewLeaderboardKey, FString Name, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerUpdateLeaderboardResponseDelegate& OnCompletedRequest);
180
188 static FString DeleteLeaderboard(FString LeaderboardKey, const FLootLockerServerDeleteLeaderboardResponseDelegate& OnCompletedRequest);
189
200 static FString SubmitScore(FString LeaderboardKey, FString MemberID, int Score, FString Metadata, const FLootLockerServerLeaderboardSubmitScoreResponseDelegate& OnCompletedRequest);
201
211 static FString IncrementScore(FString LeaderboardKey, FString MemberID, int Amount, const FLootLockerServerLeaderboardIncrementScoreResponseDelegate& OnCompletedRequest);
212
220 static FString GetAllMemberRanks(FString MemberID, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
221
231 static FString GetPaginatedAllMemberRanks(FString MemberID, const int Count, const int After, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
232
242 static FString GetScoresFromLeaderboard(FString LeaderboardKey, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
243
255 static FString GetPaginatedScoresFromLeaderboard(FString LeaderboardKey, int Count, int After, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
256
263 static FString GetLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
264
280 static FString CreateLeaderboardSchedule(const FString& LeaderboardKey, const FString& CronExpression, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
281
288 static FString DeleteLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerDeleteLeaderboardScheduleResponseDelegate& OnCompletedRequest);
289
298
305 static FString ListManualLeaderboardResets(const FString& LeaderboardKey, const FLootLockerServerListManualLeaderboardResetsResponseDelegate& OnCompletedRequest);
306
314 static FString GetManualLeaderboardReset(const FString& LeaderboardKey, const FString& ResetId, const FLootLockerServerGetManualLeaderboardResetResponseDelegate& OnCompletedRequest);
315
324 static FString CancelManualLeaderboardReset(const FString& LeaderboardKey, const FString& ResetId, const FLootLockerServerCancelManualLeaderboardResetResponseDelegate& OnCompletedRequest);
325
327
328 //==================================================
329 // Leaderboard Archives
330 //==================================================
333
340 static FString ListLeaderboardArchive(const FString& LeaderboardKey, const FLootLockerServerLeaderboardArchiveResponseDelegate& OnCompletedRequest);
341
350 static FString GetLeaderboardArchive(const FString& Key, int Count, const FString& After, const FLootLockerServerLeaderboardArchiveDetailResponseDelegate& OnCompletedRequest);
351
353
354 //==================================================
355 // Triggers
356 //==================================================
359
370 static FString InvokeTriggerForPlayer(FString TriggerName, int PlayerID, const FLootLockerServerInvokeTriggerResponseDelegate& OnCompletedRequest);
371
373
374 //==================================================
375 // Player Persistent Storage
376 //==================================================
379
388
396 static FString GetPersistentStorageForPlayers(TArray<int> PlayerIDs, const FLootLockerServerGetPersistentStorageForPlayersResponseDelegate& OnCompletedRequest);
397
406
415 static FString GetPublicPersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
416
424 static FString UpdatePersistentStorageForPlayersAndKeys(TArray<FLootLockerServerPlayerPersistentStorageEntry_NamedSets> StorageEntriesToUpdate, const FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
425
435 static FString DeletePersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
436
438
439 //==================================================
440 // Characters
441 //==================================================
444
453 static FString GetPlayerCharacters(int PlayerID, const FLootLockerServerGetPlayerCharacterResponseDelegate& OnCompletedRequest);
454
463 static FString GetPlayerCharacterInventory(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
464
476 static FString GetPaginatedPlayerCharacterInventory(int PlayerID, int CharacterID, int Count, int After, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
477
486 static FString GetPlayerCharacterLoadout(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterLoadoutResponseDelegate& OnCompletedRequest);
487
497 static FString EquipAssetToPlayerCharacterLoadoutByAssetInstanceId(int PlayerID, int CharacterID, int AssetInstanceID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
498
509 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndAssetVariationId(int PlayerID, int CharacterID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
510
521 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndRentalOptionId(int PlayerID, int CharacterID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
531 static FString UnequipAssetFromPlayerCharacterLoadout(int PlayerID, int CharacterID, int InstanceID, const FLootLockerServerUnequipAssetFromCharacterLoadoutResponseDelegate& OnCompletedRequest);
532
534
535 //==================================================
536 // Heroes
537 //==================================================
540
548 static FString GetPlayerHeroes(int PlayerID, const FLootLockerServerGetPlayerHeroResponseDelegate& OnCompletedRequest);
549
558 static FString GetPlayerHeroInventory(int PlayerID, int HeroID, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
559
570 static FString GetPaginatedPlayerHeroInventory(int PlayerID, int HeroID, int Count, int After, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
571
580 static FString GetPlayerHeroLoadout(int PlayerID, int HeroID, const FLootLockerServerGetHeroLoadoutResponseDelegate& OnCompletedRequest);
581
591 static FString EquipAssetToPlayerHeroLoadoutByAssetInstanceId(int PlayerID, int HeroID, int AssetInstanceID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
592
603 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndAssetVariationId(int PlayerID, int HeroID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
604
615 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndRentalOptionId(int PlayerID, int HeroID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
625 static FString UnequipAssetFromPlayerHeroLoadout(int PlayerID, int HeroID, int InstanceID, const FLootLockerServerUnequipAssetFromHeroLoadoutResponseDelegate& OnCompletedRequest);
626
628
629 //==================================================
630 // Player Inventory
631 //==================================================
634
642
650 static FString GetPlayerInventory(int PlayerID, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
651
661 static FString GetPaginatedPlayerInventory(int PlayerID, int Count, int After, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
662
670 static FString GetPlayerLoadout(int PlayerID, const FLootLockerServerGetPlayerLoadoutResponseDelegate& OnCompletedRequest);
671
681 static FString EquipAssetToPlayerLoadoutByAssetId(int PlayerID, int AssetID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
682
692 static FString EquipAssetToPlayerLoadoutByAssetInstanceId(int PlayerID, int AssetInstanceID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
693
704 static FString EquipAssetToPlayerLoadoutByAssetIdAndAssetVariationId(int PlayerID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
705
716 static FString EquipAssetToPlayerLoadoutByAssetIdAndRentalOptionId(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
717
727 static FString UnequipAssetFromPlayerLoadout(int PlayerID, int InstanceID, const FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate& OnCompletedRequest);
728
738 static FString AddAssetToPlayerInventoryByAssetID(int PlayerID, int AssetID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
739
750 static FString AddAssetToPlayerInventoryByAssetIDAndVariationID(int PlayerID, int AssetID, int VariationID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
751
762 static FString AddAssetToPlayerInventoryByAssetIDAndRentalOptionID(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
763
775 static FString AlterPlayerInventoryAddAssetsByAssetID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
776
788 static FString AlterPlayerInventoryAddAssetsByAssetIDAndVariationID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndVariationIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
789
801 static FString AlterPlayerInventoryAddAssetsByAssetIDAndRentalOptionID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndRentalOptionIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
802
804
805 //==================================================
806 // Assets
807 //==================================================
810
820 static FString GetAssets(const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
821
833 static FString GetPaginatedAssets(int Count, int After, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
834
845 static FString GetAssetsByContext(int Count, int After, int Context, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
846
848
849 //==================================================
850 // Asset Instances
851 //==================================================
854
863 static FString GetKeyValuePairsFromAssetInstance(int PlayerID, int AssetInstanceID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
864
874 static FString GetAssetInstanceKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
875
886 static FString AddKeyValuePairToAssetInstance(int PlayerID, int AssetInstanceID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
887
897 static FString UpdateKeyValuePairsOnAssetInstance(int PlayerID, int AssetInstanceID, TArray<FLootLockerServerAssetStorageKeyValueSet> KeyValuePairs, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
898
910 static FString UpdateKeyValuePairOnAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
911
921 static FString DeleteKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
922
924
925 //==================================================
926 // Drop Tables
927 //==================================================
930
939 static FString ComputeAndLockDropTable(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
940
950 static FString ComputeAndLockDropTableForTag(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
951
960 static FString ComputeAndLockDropTableWithAssetInformation(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
961
971 static FString ComputeAndLockDropTableForTagWithAssetInformation(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
972
982 static FString PickDropsFromDropTable(int PlayerID, int DropTableID, TArray<int> DropTableItemIDsToPick, const FLootLockerServerPickFromDropTableResponseDelegate& OnCompletedRequest);
983
985
986 //==================================================
987 // Friends
988 //==================================================
991
1001 static FString ListFriendsForPlayer(const FString& PlayerULID, int Page, int PerPage, const FLootLockerServerListFriendsResponseDelegate& OnCompletedRequest);
1002
1004
1005 //==================================================
1006 // Connected Accounts
1007 //==================================================
1010
1020 static FString ListConnectedAccounts(const TArray<FString>& PlayerULIDs, const TArray<int>& LegacyPlayerIDs, const FLootLockerServerListConnectedAccountsResponseDelegate& OnCompletedRequest);
1021
1023
1024 //==================================================
1025 // Player
1026 //==================================================
1029
1037 static FString LookupPlayerNames(TArray<FLootLockerServerPlayerNameLookupPair> IdsToLookUp, const FLootLockerServerPlayerNameLookupResponseDelegate& OnCompletedRequest);
1038
1047 static FString GetPlayerInfoFromGameSessionToken(TArray<FString> GameSessionTokensToLookUp, const FLootLockerServerGetPlayerInfoFromGameSessionTokenResponseDelegate& OnCompletedRequest);
1048
1059 static FString CreatePlayer(ELootLockerServerCreatePlayerPlatforms Platform, const FString& PlatformPlayerIdentifier, const FLootLockerServerCreatePlayerResponseDelegate& OnCompletedRequest);
1060
1062
1063 //==================================================
1064 // Player Files
1065 //==================================================
1068
1076 static FString ListFilesForPlayer(int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate& OnCompletedRequest);
1077
1086 static FString GetFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1087
1097 static FString DeleteFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerPlayerFileDeleteResponseDelegate& OnCompletedRequest);
1098
1110 static FString UploadFileForPlayer(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1111
1124 static FString UploadRawDataToPlayerFile(int PlayerID, TArray<uint8> RawData, const FString& FileName, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1125
1135 static FString UpdateFileForPlayer(int PlayerID, int FileID, FString FilePath, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1136
1147 static FString UpdatePlayerFileWithRawData(int PlayerID, int FileID, TArray<uint8> RawData, const FString& FileName, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1148
1150
1151 //==================================================
1152 // Game Progressions
1153 //==================================================
1156
1165
1174 static FString GetPaginatedProgressions(int32 Count, const FString& After, const FLootLockerServerGameProgressionListResponseDelegate& OnCompletedRequest);
1175
1183 static FString GetProgressionByKey(const FString& ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate& OnCompletedRequest);
1184
1193 static FString GetTiersForProgression(const FString& ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1194
1204 static FString GetPaginatedTiersForProgression(const FString& ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1205
1207
1208 //==================================================
1209 // Player Progressions
1210 //==================================================
1213
1222 static FString GetProgressionsForPlayer(int PlayerID, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1223
1233 static FString GetPaginatedProgressionsForPlayer(int PlayerID, int32 Count, const FString& After, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1234
1243 static FString GetProgressionForPlayerByKey(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionResponseDelegate& OnCompletedRequest);
1244
1254 static FString AddPointsToProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1255
1265 static FString SubtractPointsFromProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1266
1275 static FString ResetProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1276
1285 static FString DeleteProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerDeletePlayerProgressionResponseDelegate& OnCompletedRequest);
1286
1288
1289 //==================================================
1290 // Character Progressions
1291 //==================================================
1294
1304 static FString GetProgressionsForCharacter(int PlayerID, int CharacterID, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1305
1316 static FString GetPaginatedProgressionsForCharacter(int PlayerID, int CharacterID, int32 Count, const FString& After, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1317
1327 static FString GetProgressionForCharacterByKey(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionResponseDelegate& OnCompletedRequest);
1328
1339 static FString AddPointsToProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1340
1351 static FString SubtractPointsFromProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1352
1362 static FString ResetProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1363
1373 static FString DeleteProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerDeleteCharacterProgressionResponseDelegate& OnCompletedRequest);
1374
1375
1377
1378 //==================================================
1379 // Instance Progressions
1380 //==================================================
1383
1392 static FString GetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1393
1403 static FString GetPaginatedProgressionForAssetInstance(int PlayerId, int AssetInstanceId, int32 Count, const FString& After, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1404
1413 static FString GetProgressionByKeyForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionResponseDelegate& OnCompletedRequest);
1414
1424 static FString AddPointsToProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1425
1435 static FString SubtractPointsFromProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1436
1445 static FString ResetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1446
1455 static FString DeleteProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerDeleteInstanceProgressionResponseDelegate& OnCompletedRequest);
1456
1458
1459 //==================================================
1460 // Currencies
1461 //==================================================
1464
1471 static FString ListCurrencies(const FLootLockerServerListCurrenciesResponseDelegate& OnCompletedRequest);
1472
1474
1475 //==================================================
1476 // Catalogs
1477 //==================================================
1480
1494 static FString ListCatalogItemsByKey(const FString& CatalogKey, int Count, const FString& After, const FLootLockerServerListCatalogPricesResponseDelegate& OnCompletedRequest);
1495
1504 static FString ListCatalogItemsById(const TArray<FString>& CatalogListingIds, bool IncludeMetadata, const TArray<FString>& MetadataKeys, const FLootLockerServerListCatalogItemsByIdResponseDelegate& OnCompletedRequest);
1505
1507
1508 //==================================================
1509 // Balances
1510 //==================================================
1513
1521 static FString ListBalancesInWallet(const FString& WalletID, const FLootLockerServerListBalancesForWalletResponseDelegate& OnComplete);
1522
1530 static FString GetWalletByWalletID(const FString& WalletID, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1531
1540 static FString GetWalletByHolderID(const FString& HolderULID, const ELootLockerServerWalletHolderTypes& HolderType, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1541
1551 static FString CreditBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerCreditWalletResponseDelegate& OnComplete);
1552
1562 static FString DebitBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerDebitWalletResponseDelegate& OnComplete);
1563
1565
1566 //==================================================
1567 // Metadata
1568 //==================================================
1571
1581 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1582
1594 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1595
1606 static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FString>& Tags, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1607
1620 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);
1621
1632 static FString GetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FString& Key, const FLootLockerServerGetMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1633
1642 static FString GetMultisourceMetadata(const TArray<FLootLockerServerMetadataSourceAndKeys>& SourcesAndKeysToGet, const FLootLockerServerGetMultisourceMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1643
1655 static FString SetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FLootLockerServerSetMetadataAction>& MetadataToActionsToPerform, const FLootLockerServerSetMetadataResponseDelegate& OnComplete);
1656
1657 /*
1658 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.
1659 @param Entry The entry for which you want to get the UStruct value.
1660 @param Output The UStruct object that you want to be filled with data if the value was successfully parsed.
1661 @return True if the value could be parsed as the provided UStruct
1662 */
1663 template<typename T>
1665 {
1666 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
1667 if (!Entry.TryGetValueAsJsonObject(jsonObject))
1668 {
1669 return false;
1670 }
1671 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
1672 }
1673
1674 /*
1675 Factory method that makes an FLootLockerServerMetadataEntry with a UStruct Value
1676 @param Entry The key you want for this entry
1677 @param Tags The tags you want for this entry
1678 @param Access The access level you want to set for this entry
1679 @param Value The UStruct object that you to be converted to json and set as the value for this metadata entry
1680 @return The filled out metadata entry (or empty if it could not be constructed).
1681 */
1682 template<typename T>
1683 static FLootLockerServerMetadataEntry MakeMetadataEntryWithUStructValue(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const T& Value)
1684 {
1685 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Value);
1686 if (!JsonObject.IsValid())
1687 {
1689 }
1691 Entry.SetValueAsJsonObject(*JsonObject);
1692 return Entry;
1693 }
1694
1696
1697 //==================================================
1698 // Notifications
1699 //==================================================
1702
1703 /*
1704 Send a custom notification using the notification system to the specified player.
1705
1706 @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]+$.
1707 @param Priority What priority to set for this notification
1708 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1709 @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.
1710 @param OnComplete delegate for handling the server response
1711 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1712 */
1713 static FString SendNotificationToPlayerWithoutContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1714
1715 /*
1716 Send a custom notification using the notification system to the specified player.
1717
1718 @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]+$.
1719 @param Priority What priority to set for this notification
1720 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1721 @param Content The content to send along with this notification
1722 @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.
1723 @param OnComplete delegate for handling the server response
1724 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1725 */
1726 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, bool Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1727
1728 /*
1729 Send a custom notification using the notification system to the specified player.
1730
1731 @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]+$.
1732 @param Priority What priority to set for this notification
1733 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1734 @param Content The content to send along with this notification
1735 @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.
1736 @param OnComplete delegate for handling the server response
1737 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1738 */
1739 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, int Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1740
1741 /*
1742 Send a custom notification using the notification system to the specified player.
1743
1744 @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]+$.
1745 @param Priority What priority to set for this notification
1746 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1747 @param Content The content to send along with this notification
1748 @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.
1749 @param OnComplete delegate for handling the server response
1750 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1751 */
1752 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, long long Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1753
1754 /*
1755 Send a custom notification using the notification system to the specified player.
1756
1757 @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]+$.
1758 @param Priority What priority to set for this notification
1759 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1760 @param Content The content to send along with this notification
1761 @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.
1762 @param OnComplete delegate for handling the server response
1763 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1764 */
1765 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, double Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1766
1767 /*
1768 Send a custom notification using the notification system to the specified player.
1769
1770 @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]+$.
1771 @param Priority What priority to set for this notification
1772 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1773 @param Content The content to send along with this notification
1774 @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.
1775 @param OnComplete delegate for handling the server response
1776 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1777 */
1778 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, float Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1779
1780 /*
1781 Send a custom notification using the notification system to the specified player.
1782
1783 @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]+$.
1784 @param Priority What priority to set for this notification
1785 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1786 @param Content The content to send along with this notification
1787 @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.
1788 @param OnComplete delegate for handling the server response
1789 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1790 */
1791 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const char* Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1792
1793 /*
1794 Send a custom notification using the notification system to the specified player.
1795
1796 @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]+$.
1797 @param Priority What priority to set for this notification
1798 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1799 @param Content The content to send along with this notification
1800 @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.
1801 @param OnComplete delegate for handling the server response
1802 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1803 */
1804 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const FString& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1805
1806 /*
1807 Send a custom notification using the notification system to the specified player.
1808
1809 @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]+$.
1810 @param Priority What priority to set for this notification
1811 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1812 @param Content The content to send along with this notification
1813 @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.
1814 @param OnComplete delegate for handling the server response
1815 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1816 */
1817 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TSharedPtr<FJsonValue>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1818
1819 /*
1820 Send a custom notification using the notification system to the specified player.
1821
1822 @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]+$.
1823 @param Priority What priority to set for this notification
1824 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1825 @param Content The content to send along with this notification
1826 @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.
1827 @param OnComplete delegate for handling the server response
1828 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1829 */
1830 template<typename T>
1831 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const T& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
1832 {
1833 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Content);
1834 if (!JsonObject.IsValid())
1835 {
1837 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
1838 return "";
1839 }
1840
1841 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonContent(NotificationType, Priority, RecipientPlayerUlid, MakeShared<FJsonValueObject>(JsonObject), Properties, OnCompletedRequest);
1842 }
1843
1844
1845 /*
1846 Send a custom notification using the notification system to the specified player.
1847
1848 @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]+$.
1849 @param Priority What priority to set for this notification
1850 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1851 @param Content The content to send along with this notification
1852 @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.
1853 @param OnComplete delegate for handling the server response
1854 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1855 */
1856 static FString SendNotificationToPlayerWithBoolArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<bool>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1857
1858 /*
1859 Send a custom notification using the notification system to the specified player.
1860
1861 @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]+$.
1862 @param Priority What priority to set for this notification
1863 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1864 @param Content The content to send along with this notification
1865 @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.
1866 @param OnComplete delegate for handling the server response
1867 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1868 */
1869 static FString SendNotificationToPlayerWithIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<int>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1870
1871 /*
1872 Send a custom notification using the notification system to the specified player.
1873
1874 @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]+$.
1875 @param Priority What priority to set for this notification
1876 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1877 @param Content The content to send along with this notification
1878 @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.
1879 @param OnComplete delegate for handling the server response
1880 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1881 */
1882 static FString SendNotificationToPlayerWithLargeIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<long long>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1883
1884 /*
1885 Send a custom notification using the notification system to the specified player.
1886
1887 @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]+$.
1888 @param Priority What priority to set for this notification
1889 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1890 @param Content The content to send along with this notification
1891 @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.
1892 @param OnComplete delegate for handling the server response
1893 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1894 */
1895 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<double>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1896
1897 /*
1898 Send a custom notification using the notification system to the specified player.
1899
1900 @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]+$.
1901 @param Priority What priority to set for this notification
1902 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1903 @param Content The content to send along with this notification
1904 @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.
1905 @param OnComplete delegate for handling the server response
1906 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1907 */
1908 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<float>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1909
1910 /*
1911 Send a custom notification using the notification system to the specified player.
1912
1913 @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]+$.
1914 @param Priority What priority to set for this notification
1915 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1916 @param Content The content to send along with this notification
1917 @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.
1918 @param OnComplete delegate for handling the server response
1919 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1920 */
1921 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FString>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1922
1923 /*
1924 Send a custom notification using the notification system to the specified player.
1925
1926 @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]+$.
1927 @param Priority What priority to set for this notification
1928 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1929 @param Content The content to send along with this notification
1930 @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.
1931 @param OnComplete delegate for handling the server response
1932 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1933 */
1934 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<TSharedPtr<FJsonValue>>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1935
1936 /*
1937 Send a custom notification using the notification system to the specified player.
1938
1939 @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]+$.
1940 @param Priority What priority to set for this notification
1941 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1942 @param Content The content to send along with this notification
1943 @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.
1944 @param OnComplete delegate for handling the server response
1945 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1946 */
1947 template<typename T>
1948 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<T>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
1949 {
1950 TArray<TSharedPtr<FJsonValue>> JsonArray;
1951 int i = 0;
1952 for (const T& cont : Content)
1953 {
1954 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(cont);
1955 if (!JsonObject.IsValid())
1956 {
1958 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
1959 return "";
1960 }
1961 ++i;
1962 JsonArray.Add(MakeShared<FJsonValueObject>(JsonObject));
1963 }
1964
1965 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonArrayContent(NotificationType, Priority, RecipientPlayerUlid, JsonArray, Properties, OnCompletedRequest);
1966 }
1967
1969};
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(* FLootLockerServerListCatalogPricesResponseDelegate)(FLootLockerServerListCatalogPricesResponse)
C++ response delegate for listing catalog prices.
Definition LootLockerServerCatalogRequest.h:692
void(* FLootLockerServerListCatalogItemsByIdResponseDelegate)(FLootLockerServerListCatalogItemsByIdResponse)
C++ response delegate for listing catalog items by ID.
Definition LootLockerServerCatalogRequest.h:696
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:968
void(* FLootLockerServerGetLeaderboardScheduleResponseDelegate)(FLootLockerServerGetLeaderboardScheduleResponse)
Definition LootLockerServerLeaderboardRequest.h:984
void(* FLootLockerServerGetScoresFromLeaderboardResponseDelegate)(FLootLockerServerGetScoresFromLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:980
void(* FLootLockerServerGetAllMemberRanksResponseDelegate)(FLootLockerServerGetAllMemberRanksResponse)
Definition LootLockerServerLeaderboardRequest.h:976
void(* FLootLockerServerGetLeaderboardResponseDelegate)(FLootLockerServerGetLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:952
ELootLockerServerLeaderboardType
Definition LootLockerServerLeaderboardRequest.h:14
void(* FLootLockerServerCancelManualLeaderboardResetResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerLeaderboardRequest.h:1004
void(* FLootLockerServerRequestManualLeaderboardResetResponseDelegate)(FLootLockerServerManualLeaderboardResetResponse)
Definition LootLockerServerLeaderboardRequest.h:992
void(* FLootLockerServerListManualLeaderboardResetsResponseDelegate)(FLootLockerServerListManualLeaderboardResetsResponse)
Definition LootLockerServerLeaderboardRequest.h:996
void(* FLootLockerServerDeleteLeaderboardResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerLeaderboardRequest.h:964
void(* FLootLockerServerDeleteLeaderboardScheduleResponseDelegate)(FLootLockerServerResponse)
Definition LootLockerServerLeaderboardRequest.h:988
ELootLockerServerLeaderboardDirection
Which direction should the leaderboard be sorted in.
Definition LootLockerServerLeaderboardRequest.h:32
void(* FLootLockerServerUpdateLeaderboardResponseDelegate)(FLootLockerServerUpdateLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:960
void(* FLootLockerServerCreateLeaderboardResponseDelegate)(FLootLockerServerCreateLeaderboardResponse)
Definition LootLockerServerLeaderboardRequest.h:956
void(* FLootLockerServerLeaderboardIncrementScoreResponseDelegate)(FLootLockerServerLeaderboardSubmitScoreResponse)
Definition LootLockerServerLeaderboardRequest.h:972
void(* FLootLockerServerListLeaderboardsResponseDelegate)(FLootLockerServerListLeaderboardsResponse)
Definition LootLockerServerLeaderboardRequest.h:948
void(* FLootLockerServerGetManualLeaderboardResetResponseDelegate)(FLootLockerServerManualLeaderboardResetResponse)
Definition LootLockerServerLeaderboardRequest.h:1000
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:33
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 ListCatalogItemsByKey(const FString &CatalogKey, int Count, const FString &After, const FLootLockerServerListCatalogPricesResponseDelegate &OnCompletedRequest)
List catalog items (entries with prices) for the catalog identified by the given key.
static FString ListCatalogItemsById(const TArray< FString > &CatalogListingIds, bool IncludeMetadata, const TArray< FString > &MetadataKeys, const FLootLockerServerListCatalogItemsByIdResponseDelegate &OnCompletedRequest)
List catalog items by their catalog_listing_ids, with entity details and optionally metadata inlined ...
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 ListManualLeaderboardResets(const FString &LeaderboardKey, const FLootLockerServerListManualLeaderboardResetsResponseDelegate &OnCompletedRequest)
List all manual reset requests for a leaderboard.
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 RequestManualLeaderboardReset(const FString &LeaderboardKey, const FLootLockerServerCreateManualLeaderboardResetRequest &Request, const FLootLockerServerRequestManualLeaderboardResetResponseDelegate &OnCompletedRequest)
Request a manual reset of a leaderboard.
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 GetManualLeaderboardReset(const FString &LeaderboardKey, const FString &ResetId, const FLootLockerServerGetManualLeaderboardResetResponseDelegate &OnCompletedRequest)
Get a specific manual reset request for a leaderboard.
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 CancelManualLeaderboardReset(const FString &LeaderboardKey, const FString &ResetId, const FLootLockerServerCancelManualLeaderboardResetResponseDelegate &OnCompletedRequest)
Cancel a pending manual reset request for a leaderboard Only pending resets can be cancelled.
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:1683
static bool TryGetMetadataValueAsUStruct(const FLootLockerServerMetadataEntry &Entry, T &Output)
Definition LootLockerServerForCpp.h:1664
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:1948
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:1831
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 body for creating a manual leaderboard reset.
Definition LootLockerServerLeaderboardRequest.h:847
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