LootLocker Unreal Server SDK 6.7.1
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"
32
33class LOOTLOCKERSERVERSDK_API ULootLockerServerForCpp : public UObject
34{
35public:
36
37 //==================================================
38 // Authentication
39 //==================================================
42
49 static FString StartSession(const FLootLockerServerAuthResponseDelegate& OnCompletedRequest);
50
57 static FString MaintainSession(const FLootLockerServerMaintainSessionResponseDelegate& OnCompletedRequest);
58
60
61 //==================================================
62 // Token Exchange
63 //==================================================
66
76 static FString GameApiTokenExchange(const FString& GameApiSessionToken, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
77
87 static FString GameApiUserImpersonation(const FString& PlayerUlid, const FLootLockerServerTokenExchangeResponseDelegate& OnCompletedRequest);
88
90
91 //==================================================
92 // Leaderboards
93 //==================================================
96
104
113 static FString ListLeaderboards(int32 Count, int32 After, const FLootLockerServerListLeaderboardsResponseDelegate& OnCompletedRequest);
114
122 static FString GetLeaderboard(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardResponseDelegate& OnCompletedRequest);
123
137 static FString CreateLeaderboard(FString LeaderboardKey, FString Name, ELootLockerServerLeaderboardType Type, bool HasMetadata, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerCreateLeaderboardResponseDelegate& OnCompletedRequest);
138
150 static FString ListAssets(const FLootLockerServerListAssetsRequest& Request, int PerPage, int Page, const FLootLockerServerListAssetsResponseDelegate& OnCompletedRequest);
151
163 static FString ListAssets(const FLootLockerServerListAssetsRequest& Request, int PerPage, int Page, ELootLockerServerOrderAssetListBy OrderBy, ELootLockerServerOrderAssetListDirection OrderDirection, const FLootLockerServerListAssetsResponseDelegate& OnCompletedRequest);
164
172
181 static FString ListContexts(int PerPage, int Page, const FLootLockerServerListContextsResponseDelegate& OnCompletedRequest);
182
195 static FString UpdateLeaderboard(FString LeaderboardKey, FString NewLeaderboardKey, FString Name, ELootLockerServerLeaderboardDirection DirectionMethod, bool EnableGameApiWrites, bool OverwriteScoreOnSubmit, const FLootLockerServerUpdateLeaderboardResponseDelegate& OnCompletedRequest);
196
204 static FString DeleteLeaderboard(FString LeaderboardKey, const FLootLockerServerDeleteLeaderboardResponseDelegate& OnCompletedRequest);
205
216 static FString SubmitScore(FString LeaderboardKey, FString MemberID, int Score, FString Metadata, const FLootLockerServerLeaderboardSubmitScoreResponseDelegate& OnCompletedRequest);
217
227 static FString IncrementScore(FString LeaderboardKey, FString MemberID, int Amount, const FLootLockerServerLeaderboardIncrementScoreResponseDelegate& OnCompletedRequest);
228
236 static FString GetAllMemberRanks(FString MemberID, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
237
247 static FString GetPaginatedAllMemberRanks(FString MemberID, const int Count, const int After, const FLootLockerServerGetAllMemberRanksResponseDelegate& OnCompletedRequest);
248
258 static FString GetScoresFromLeaderboard(FString LeaderboardKey, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
259
271 static FString GetPaginatedScoresFromLeaderboard(FString LeaderboardKey, int Count, int After, const FLootLockerServerGetScoresFromLeaderboardResponseDelegate& OnCompletedRequest);
272
279 static FString GetLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
280
296 static FString CreateLeaderboardSchedule(const FString& LeaderboardKey, const FString& CronExpression, const FLootLockerServerGetLeaderboardScheduleResponseDelegate& OnCompletedRequest);
297
304 static FString DeleteLeaderboardSchedule(const FString& LeaderboardKey, const FLootLockerServerDeleteLeaderboardScheduleResponseDelegate& OnCompletedRequest);
305
314
321 static FString ListManualLeaderboardResets(const FString& LeaderboardKey, const FLootLockerServerListManualLeaderboardResetsResponseDelegate& OnCompletedRequest);
322
330 static FString GetManualLeaderboardReset(const FString& LeaderboardKey, const FString& ResetId, const FLootLockerServerGetManualLeaderboardResetResponseDelegate& OnCompletedRequest);
331
340 static FString CancelManualLeaderboardReset(const FString& LeaderboardKey, const FString& ResetId, const FLootLockerServerCancelManualLeaderboardResetResponseDelegate& OnCompletedRequest);
341
343
344 //==================================================
345 // Leaderboard Archives
346 //==================================================
349
356 static FString ListLeaderboardArchive(const FString& LeaderboardKey, const FLootLockerServerLeaderboardArchiveResponseDelegate& OnCompletedRequest);
357
366 static FString GetLeaderboardArchive(const FString& Key, int Count, const FString& After, const FLootLockerServerLeaderboardArchiveDetailResponseDelegate& OnCompletedRequest);
367
369
370 //==================================================
371 // Triggers
372 //==================================================
375
386 static FString InvokeTriggerForPlayer(FString TriggerName, int PlayerID, const FLootLockerServerInvokeTriggerResponseDelegate& OnCompletedRequest);
387
389
390 //==================================================
391 // Player Persistent Storage
392 //==================================================
395
404
412 static FString GetPersistentStorageForPlayers(TArray<int> PlayerIDs, const FLootLockerServerGetPersistentStorageForPlayersResponseDelegate& OnCompletedRequest);
413
422
431 static FString GetPublicPersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerGetPublicPersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
432
440 static FString UpdatePersistentStorageForPlayersAndKeys(TArray<FLootLockerServerPlayerPersistentStorageEntry_NamedSets> StorageEntriesToUpdate, const FLootLockerServerUpdatePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
441
451 static FString DeletePersistentStorageForPlayersAndKeys(TArray<int> PlayerIDs, TArray<FString> Keys, const FLootLockerServerDeletePersistentStorageForPlayersAndKeysResponseDelegate& OnCompletedRequest);
452
454
455 //==================================================
456 // Characters
457 //==================================================
460
469 static FString GetPlayerCharacters(int PlayerID, const FLootLockerServerGetPlayerCharacterResponseDelegate& OnCompletedRequest);
470
479 static FString GetPlayerCharacterInventory(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
480
492 static FString GetPaginatedPlayerCharacterInventory(int PlayerID, int CharacterID, int Count, int After, const FLootLockerServerGetCharacterInventoryResponseDelegate& OnCompletedRequest);
493
502 static FString GetPlayerCharacterLoadout(int PlayerID, int CharacterID, const FLootLockerServerGetCharacterLoadoutResponseDelegate& OnCompletedRequest);
503
513 static FString EquipAssetToPlayerCharacterLoadoutByAssetInstanceId(int PlayerID, int CharacterID, int AssetInstanceID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
514
525 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndAssetVariationId(int PlayerID, int CharacterID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
526
537 static FString EquipAssetToPlayerCharacterLoadoutByAssetIdAndRentalOptionId(int PlayerID, int CharacterID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToCharacterLoadoutResponseDelegate& OnCompletedRequest);
547 static FString UnequipAssetFromPlayerCharacterLoadout(int PlayerID, int CharacterID, int InstanceID, const FLootLockerServerUnequipAssetFromCharacterLoadoutResponseDelegate& OnCompletedRequest);
548
550
551 //==================================================
552 // Heroes
553 //==================================================
556
564 static FString GetPlayerHeroes(int PlayerID, const FLootLockerServerGetPlayerHeroResponseDelegate& OnCompletedRequest);
565
574 static FString GetPlayerHeroInventory(int PlayerID, int HeroID, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
575
586 static FString GetPaginatedPlayerHeroInventory(int PlayerID, int HeroID, int Count, int After, const FLootLockerServerGetHeroInventoryResponseDelegate& OnCompletedRequest);
587
596 static FString GetPlayerHeroLoadout(int PlayerID, int HeroID, const FLootLockerServerGetHeroLoadoutResponseDelegate& OnCompletedRequest);
597
607 static FString EquipAssetToPlayerHeroLoadoutByAssetInstanceId(int PlayerID, int HeroID, int AssetInstanceID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
608
619 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndAssetVariationId(int PlayerID, int HeroID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
620
631 static FString EquipAssetToPlayerHeroLoadoutByAssetIdAndRentalOptionId(int PlayerID, int HeroID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToHeroLoadoutResponseDelegate& OnCompletedRequest);
641 static FString UnequipAssetFromPlayerHeroLoadout(int PlayerID, int HeroID, int InstanceID, const FLootLockerServerUnequipAssetFromHeroLoadoutResponseDelegate& OnCompletedRequest);
642
644
645 //==================================================
646 // Player Inventory
647 //==================================================
650
662
674 static FString GetPlayerInventory(int PlayerID, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
675
689 static FString GetPaginatedPlayerInventory(int PlayerID, int Count, int After, const FLootLockerServerGetPlayerInventoryResponseDelegate& OnCompletedRequest);
690
698 static FString GetPlayerLoadout(int PlayerID, const FLootLockerServerGetPlayerLoadoutResponseDelegate& OnCompletedRequest);
699
709 static FString EquipAssetToPlayerLoadoutByAssetId(int PlayerID, int AssetID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
710
720 static FString EquipAssetToPlayerLoadoutByAssetInstanceId(int PlayerID, int AssetInstanceID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
721
732 static FString EquipAssetToPlayerLoadoutByAssetIdAndAssetVariationId(int PlayerID, int AssetID, int AssetVariationID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
733
744 static FString EquipAssetToPlayerLoadoutByAssetIdAndRentalOptionId(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate& OnCompletedRequest);
745
755 static FString UnequipAssetFromPlayerLoadout(int PlayerID, int InstanceID, const FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate& OnCompletedRequest);
756
766 static FString AddAssetToPlayerInventoryByAssetID(int PlayerID, int AssetID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
767
778 static FString AddAssetToPlayerInventoryByAssetIDAndVariationID(int PlayerID, int AssetID, int VariationID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
779
790 static FString AddAssetToPlayerInventoryByAssetIDAndRentalOptionID(int PlayerID, int AssetID, int RentalOptionID, const FLootLockerServerAddAssetToPlayerInventoryResponseDelegate& OnCompletedRequest);
791
803 static FString AlterPlayerInventoryAddAssetsByAssetID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
804
816 static FString AlterPlayerInventoryAddAssetsByAssetIDAndVariationID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndVariationIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
817
829 static FString AlterPlayerInventoryAddAssetsByAssetIDAndRentalOptionID(int PlayerID, const TArray<FLootLockerServerAssetByAssetIdAndRentalOptionIdRequest>& AssetsToAdd, const TArray<int> AssetsToRemove, const FLootLockerServerAlterPlayerInventoryResponseDelegate& OnCompletedRequest);
830
832
833 //==================================================
834 // Items
835 //==================================================
842
852 static FString ListPlayerInventoryItems(int PlayerID, int Page, int PerPage, const FLootLockerServerListPlayerInventoryItemsResponseDelegate& OnCompletedRequest);
853
862 static FString GetPlayerInventoryItem(int PlayerID, const FString& InventoryId, const FLootLockerServerGetPlayerInventoryItemResponseDelegate& OnCompletedRequest);
863
872 static FString DeletePlayerInventoryItem(int PlayerID, const FString& InventoryId, const FLootLockerServerDeletePlayerInventoryItemResponseDelegate& OnCompletedRequest);
873
882 static FString GrantItemToPlayerInventory(int PlayerID, const FLootLockerServerGrantItemRequest& Request, const FLootLockerServerGrantItemResponseDelegate& OnCompletedRequest);
883
893 static FString SplitPlayerInventoryItemStack(int PlayerID, const FString& InventoryId, const FLootLockerServerSplitInventoryItemRequest& Request, const FLootLockerServerSplitPlayerInventoryItemStackResponseDelegate& OnCompletedRequest);
894
904
906
907 //==================================================
908 // Assets
909 //==================================================
912
922 static FString GetAssets(const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
923
935 static FString GetPaginatedAssets(int Count, int After, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
936
947 static FString GetAssetsByContext(int Count, int After, int Context, const FLootLockerServerGetAssetsResponseDelegate& OnCompletedRequest, bool IncludeUGC = false);
948
950
951 //==================================================
952 // Asset Instances
953 //==================================================
956
965 static FString GetKeyValuePairsFromAssetInstance(int PlayerID, int AssetInstanceID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
966
976 static FString GetAssetInstanceKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
977
988 static FString AddKeyValuePairToAssetInstance(int PlayerID, int AssetInstanceID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
989
999 static FString UpdateKeyValuePairsOnAssetInstance(int PlayerID, int AssetInstanceID, TArray<FLootLockerServerAssetStorageKeyValueSet> KeyValuePairs, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
1000
1012 static FString UpdateKeyValuePairOnAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FString Key, FString Value, const FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate& OnCompletedRequest);
1013
1023 static FString DeleteKeyValuePairFromAssetInstanceById(int PlayerID, int AssetInstanceID, int KeyValuePairID, const FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate& OnCompletedRequest);
1024
1026
1027 //==================================================
1028 // Drop Tables
1029 //==================================================
1032
1041 static FString ComputeAndLockDropTable(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
1042
1052 static FString ComputeAndLockDropTableForTag(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
1053
1062 static FString ComputeAndLockDropTableWithAssetInformation(int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
1063
1073 static FString ComputeAndLockDropTableForTagWithAssetInformation(int PlayerID, int DropTableID, const FString& Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate& OnCompletedRequest);
1074
1084 static FString PickDropsFromDropTable(int PlayerID, int DropTableID, TArray<int> DropTableItemIDsToPick, const FLootLockerServerPickFromDropTableResponseDelegate& OnCompletedRequest);
1085
1087
1088 //==================================================
1089 // Friends
1090 //==================================================
1093
1103 static FString ListFriendsForPlayer(const FString& PlayerULID, int Page, int PerPage, const FLootLockerServerListFriendsResponseDelegate& OnCompletedRequest);
1104
1106
1107 //==================================================
1108 // Connected Accounts
1109 //==================================================
1112
1122 static FString ListConnectedAccounts(const TArray<FString>& PlayerULIDs, const TArray<int>& LegacyPlayerIDs, const FLootLockerServerListConnectedAccountsResponseDelegate& OnCompletedRequest);
1123
1125
1126 //==================================================
1127 // Player
1128 //==================================================
1131
1139 static FString LookupPlayerNames(TArray<FLootLockerServerPlayerNameLookupPair> IdsToLookUp, const FLootLockerServerPlayerNameLookupResponseDelegate& OnCompletedRequest);
1140
1149 static FString GetPlayerInfoFromGameSessionToken(TArray<FString> GameSessionTokensToLookUp, const FLootLockerServerGetPlayerInfoFromGameSessionTokenResponseDelegate& OnCompletedRequest);
1150
1161 static FString CreatePlayer(ELootLockerServerCreatePlayerPlatforms Platform, const FString& PlatformPlayerIdentifier, const FLootLockerServerCreatePlayerResponseDelegate& OnCompletedRequest);
1162
1164
1165 //==================================================
1166 // Player Files
1167 //==================================================
1170
1178 static FString ListFilesForPlayer(int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate& OnCompletedRequest);
1179
1188 static FString GetFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1189
1199 static FString DeleteFileForPlayerByID(int PlayerID, int FileID, const FLootLockerServerPlayerFileDeleteResponseDelegate& OnCompletedRequest);
1200
1212 static FString UploadFileForPlayer(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1213
1226 static FString UploadFileForPlayerByKey(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, FString Key, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1227
1240 static FString UploadRawDataToPlayerFile(int PlayerID, TArray<uint8> RawData, const FString& FileName, FString Purpose, bool IsPublic, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1241
1255 static FString UploadRawDataToPlayerFileByKey(int PlayerID, TArray<uint8> RawData, const FString& FileName, FString Purpose, bool IsPublic, FString Key, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1256
1266 static FString UpdateFileForPlayer(int PlayerID, int FileID, FString FilePath, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1267
1278 static FString UpdatePlayerFileWithRawData(int PlayerID, int FileID, TArray<uint8> RawData, const FString& FileName, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1279
1288 static FString ListFileRevisionsForPlayer(int PlayerID, int FileID, const FLootLockerServerPlayerFileRevisionsListResponseDelegate& OnCompletedRequest);
1289
1299 static FString GetFileRevisionForPlayerByID(int PlayerID, int FileID, const FString& RevisionID, const FLootLockerServerPlayerFileContentResponseDelegate& OnCompletedRequest);
1300
1310 static FString PromoteFileRevisionForPlayer(int PlayerID, int FileID, const FString& RevisionID, const FLootLockerServerPlayerFilePromoteResponseDelegate& OnCompletedRequest);
1311
1320 static FString GetFileByKeyForPlayer(int PlayerID, const FString& Key, const FLootLockerServerSinglePlayerFileResponseDelegate& OnCompletedRequest);
1321
1330 static FString ListFileRevisionsByKeyForPlayer(int PlayerID, const FString& Key, const FLootLockerServerPlayerFileRevisionsListResponseDelegate& OnCompletedRequest);
1331
1341 static FString GetFileRevisionByKeyForPlayer(int PlayerID, const FString& Key, const FString& RevisionID, const FLootLockerServerPlayerFileContentResponseDelegate& OnCompletedRequest);
1342
1352 static FString PromoteFileRevisionByKeyForPlayer(int PlayerID, const FString& Key, const FString& RevisionID, const FLootLockerServerPlayerFilePromoteResponseDelegate& OnCompletedRequest);
1353
1362 static FString DeleteFileByKeyForPlayer(int PlayerID, const FString& Key, const FLootLockerServerPlayerFileDeleteResponseDelegate& OnCompletedRequest);
1363
1365
1366 //==================================================
1367 // Game Progressions
1368 //==================================================
1371
1380
1389 static FString GetPaginatedProgressions(int32 Count, const FString& After, const FLootLockerServerGameProgressionListResponseDelegate& OnCompletedRequest);
1390
1398 static FString GetProgressionByKey(const FString& ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate& OnCompletedRequest);
1399
1408 static FString GetTiersForProgression(const FString& ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1409
1419 static FString GetPaginatedTiersForProgression(const FString& ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
1420
1422
1423 //==================================================
1424 // Player Progressions
1425 //==================================================
1428
1437 static FString GetProgressionsForPlayer(int PlayerID, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1438
1448 static FString GetPaginatedProgressionsForPlayer(int PlayerID, int32 Count, const FString& After, const FLootLockerServerPlayerProgressionListResponseDelegate& OnCompletedRequest);
1449
1458 static FString GetProgressionForPlayerByKey(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionResponseDelegate& OnCompletedRequest);
1459
1469 static FString AddPointsToProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1470
1480 static FString SubtractPointsFromProgressionForPlayer(int PlayerID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1481
1490 static FString ResetProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerSinglePlayerProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1491
1500 static FString DeleteProgressionForPlayer(int PlayerID, const FString& ProgressionKey, const FLootLockerServerDeletePlayerProgressionResponseDelegate& OnCompletedRequest);
1501
1503
1504 //==================================================
1505 // Character Progressions
1506 //==================================================
1509
1519 static FString GetProgressionsForCharacter(int PlayerID, int CharacterID, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1520
1531 static FString GetPaginatedProgressionsForCharacter(int PlayerID, int CharacterID, int32 Count, const FString& After, const FLootLockerServerCharacterProgressionListResponseDelegate& OnCompletedRequest);
1532
1542 static FString GetProgressionForCharacterByKey(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionResponseDelegate& OnCompletedRequest);
1543
1554 static FString AddPointsToProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1555
1566 static FString SubtractPointsFromProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1567
1577 static FString ResetProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerSingleCharacterProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1578
1588 static FString DeleteProgressionForCharacter(int PlayerID, int CharacterID, const FString& ProgressionKey, const FLootLockerServerDeleteCharacterProgressionResponseDelegate& OnCompletedRequest);
1589
1590
1592
1593 //==================================================
1594 // Instance Progressions
1595 //==================================================
1598
1607 static FString GetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1608
1618 static FString GetPaginatedProgressionForAssetInstance(int PlayerId, int AssetInstanceId, int32 Count, const FString& After, const FLootLockerServerInstanceProgressionListResponseDelegate& OnCompletedRequest);
1619
1628 static FString GetProgressionByKeyForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionResponseDelegate& OnCompletedRequest);
1629
1639 static FString AddPointsToProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1640
1650 static FString SubtractPointsFromProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, int32 Amount, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1651
1660 static FString ResetProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerSingleInstanceProgressionWithRewardsResponseDelegate& OnCompletedRequest);
1661
1670 static FString DeleteProgressionForAssetInstance(int PlayerId, int AssetInstanceId, const FString& ProgressionKey, const FLootLockerServerDeleteInstanceProgressionResponseDelegate& OnCompletedRequest);
1671
1673
1674 //==================================================
1675 // Currencies
1676 //==================================================
1679
1686 static FString ListCurrencies(const FLootLockerServerListCurrenciesResponseDelegate& OnCompletedRequest);
1687
1689
1690 //==================================================
1691 // Catalogs
1692 //==================================================
1695
1709 static FString ListCatalogItemsByKey(const FString& CatalogKey, int Count, const FString& After, const FLootLockerServerListCatalogPricesResponseDelegate& OnCompletedRequest);
1710
1719 static FString ListCatalogItemsById(const TArray<FString>& CatalogListingIds, bool IncludeMetadata, const TArray<FString>& MetadataKeys, const FLootLockerServerListCatalogItemsByIdResponseDelegate& OnCompletedRequest);
1720
1722
1723 //==================================================
1724 // Balances
1725 //==================================================
1728
1736 static FString ListBalancesInWallet(const FString& WalletID, const FLootLockerServerListBalancesForWalletResponseDelegate& OnComplete);
1737
1745 static FString GetWalletByWalletID(const FString& WalletID, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1746
1755 static FString GetWalletByHolderID(const FString& HolderULID, const ELootLockerServerWalletHolderTypes& HolderType, const FLootLockerServerGetWalletResponseDelegate& OnComplete);
1756
1766 static FString CreditBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerCreditWalletResponseDelegate& OnComplete);
1767
1777 static FString DebitBalanceToWallet(const FString& WalletID, const FString& CurrencyID, const FString& Amount, const FLootLockerServerDebitWalletResponseDelegate& OnComplete);
1778
1780
1781 //==================================================
1782 // Metadata
1783 //==================================================
1786
1796 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1797
1809 static FString ListMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const int Page, const int PerPage, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1810
1821 static FString ListMetadataWithTags(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FString>& Tags, const FLootLockerServerListMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1822
1835 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);
1836
1847 static FString GetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const FString& Key, const FLootLockerServerGetMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1848
1857 static FString GetMultisourceMetadata(const TArray<FLootLockerServerMetadataSourceAndKeys>& SourcesAndKeysToGet, const FLootLockerServerGetMultisourceMetadataResponseDelegate& OnComplete, const bool IgnoreFiles = false);
1858
1870 static FString SetMetadata(const ELootLockerServerMetadataSources Source, const FString& SourceID, const TArray<FLootLockerServerSetMetadataAction>& MetadataToActionsToPerform, const FLootLockerServerSetMetadataResponseDelegate& OnComplete);
1871
1872 /*
1873 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.
1874 @param Entry The entry for which you want to get the UStruct value.
1875 @param Output The UStruct object that you want to be filled with data if the value was successfully parsed.
1876 @return True if the value could be parsed as the provided UStruct
1877 */
1878 template<typename T>
1880 {
1881 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
1882 if (!Entry.TryGetValueAsJsonObject(jsonObject))
1883 {
1884 return false;
1885 }
1886 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
1887 }
1888
1889 /*
1890 Factory method that makes an FLootLockerServerMetadataEntry with a UStruct Value
1891 @param Entry The key you want for this entry
1892 @param Tags The tags you want for this entry
1893 @param Access The access level you want to set for this entry
1894 @param Value The UStruct object that you to be converted to json and set as the value for this metadata entry
1895 @return The filled out metadata entry (or empty if it could not be constructed).
1896 */
1897 template<typename T>
1898 static FLootLockerServerMetadataEntry MakeMetadataEntryWithUStructValue(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const T& Value)
1899 {
1900 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Value);
1901 if (!JsonObject.IsValid())
1902 {
1904 }
1906 Entry.SetValueAsJsonObject(*JsonObject);
1907 return Entry;
1908 }
1909
1911
1912 //==================================================
1913 // Notifications
1914 //==================================================
1917
1918 /*
1919 Send a custom notification using the notification system to the specified player.
1920
1921 @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]+$.
1922 @param Priority What priority to set for this notification
1923 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1924 @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.
1925 @param OnComplete delegate for handling the server response
1926 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1927 */
1928 static FString SendNotificationToPlayerWithoutContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1929
1930 /*
1931 Send a custom notification using the notification system to the specified player.
1932
1933 @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]+$.
1934 @param Priority What priority to set for this notification
1935 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1936 @param Content The content to send along with this notification
1937 @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.
1938 @param OnComplete delegate for handling the server response
1939 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1940 */
1941 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, bool Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1942
1943 /*
1944 Send a custom notification using the notification system to the specified player.
1945
1946 @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]+$.
1947 @param Priority What priority to set for this notification
1948 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1949 @param Content The content to send along with this notification
1950 @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.
1951 @param OnComplete delegate for handling the server response
1952 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1953 */
1954 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, int Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1955
1956 /*
1957 Send a custom notification using the notification system to the specified player.
1958
1959 @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]+$.
1960 @param Priority What priority to set for this notification
1961 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1962 @param Content The content to send along with this notification
1963 @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.
1964 @param OnComplete delegate for handling the server response
1965 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1966 */
1967 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, long long Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1968
1969 /*
1970 Send a custom notification using the notification system to the specified player.
1971
1972 @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]+$.
1973 @param Priority What priority to set for this notification
1974 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1975 @param Content The content to send along with this notification
1976 @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.
1977 @param OnComplete delegate for handling the server response
1978 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1979 */
1980 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, double Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1981
1982 /*
1983 Send a custom notification using the notification system to the specified player.
1984
1985 @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]+$.
1986 @param Priority What priority to set for this notification
1987 @param RecipientPlayerUlid The ulid of the player that should receive this notification
1988 @param Content The content to send along with this notification
1989 @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.
1990 @param OnComplete delegate for handling the server response
1991 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
1992 */
1993 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, float Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
1994
1995 /*
1996 Send a custom notification using the notification system to the specified player.
1997
1998 @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]+$.
1999 @param Priority What priority to set for this notification
2000 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2001 @param Content The content to send along with this notification
2002 @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.
2003 @param OnComplete delegate for handling the server response
2004 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2005 */
2006 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const char* Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2007
2008 /*
2009 Send a custom notification using the notification system to the specified player.
2010
2011 @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]+$.
2012 @param Priority What priority to set for this notification
2013 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2014 @param Content The content to send along with this notification
2015 @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.
2016 @param OnComplete delegate for handling the server response
2017 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2018 */
2019 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const FString& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2020
2021 /*
2022 Send a custom notification using the notification system to the specified player.
2023
2024 @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]+$.
2025 @param Priority What priority to set for this notification
2026 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2027 @param Content The content to send along with this notification
2028 @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.
2029 @param OnComplete delegate for handling the server response
2030 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2031 */
2032 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TSharedPtr<FJsonValue>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2033
2034 /*
2035 Send a custom notification using the notification system to the specified player.
2036
2037 @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]+$.
2038 @param Priority What priority to set for this notification
2039 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2040 @param Content The content to send along with this notification
2041 @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.
2042 @param OnComplete delegate for handling the server response
2043 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2044 */
2045 template<typename T>
2046 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const T& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
2047 {
2048 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Content);
2049 if (!JsonObject.IsValid())
2050 {
2052 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
2053 return "";
2054 }
2055
2056 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonContent(NotificationType, Priority, RecipientPlayerUlid, MakeShared<FJsonValueObject>(JsonObject), Properties, OnCompletedRequest);
2057 }
2058
2059
2060 /*
2061 Send a custom notification using the notification system to the specified player.
2062
2063 @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]+$.
2064 @param Priority What priority to set for this notification
2065 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2066 @param Content The content to send along with this notification
2067 @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.
2068 @param OnComplete delegate for handling the server response
2069 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2070 */
2071 static FString SendNotificationToPlayerWithBoolArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<bool>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2072
2073 /*
2074 Send a custom notification using the notification system to the specified player.
2075
2076 @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]+$.
2077 @param Priority What priority to set for this notification
2078 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2079 @param Content The content to send along with this notification
2080 @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.
2081 @param OnComplete delegate for handling the server response
2082 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2083 */
2084 static FString SendNotificationToPlayerWithIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<int>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2085
2086 /*
2087 Send a custom notification using the notification system to the specified player.
2088
2089 @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]+$.
2090 @param Priority What priority to set for this notification
2091 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2092 @param Content The content to send along with this notification
2093 @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.
2094 @param OnComplete delegate for handling the server response
2095 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2096 */
2097 static FString SendNotificationToPlayerWithLargeIntArrayContent(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<long long>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2098
2099 /*
2100 Send a custom notification using the notification system to the specified player.
2101
2102 @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]+$.
2103 @param Priority What priority to set for this notification
2104 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2105 @param Content The content to send along with this notification
2106 @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.
2107 @param OnComplete delegate for handling the server response
2108 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2109 */
2110 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<double>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2111
2112 /*
2113 Send a custom notification using the notification system to the specified player.
2114
2115 @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]+$.
2116 @param Priority What priority to set for this notification
2117 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2118 @param Content The content to send along with this notification
2119 @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.
2120 @param OnComplete delegate for handling the server response
2121 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2122 */
2123 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<float>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2124
2125 /*
2126 Send a custom notification using the notification system to the specified player.
2127
2128 @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]+$.
2129 @param Priority What priority to set for this notification
2130 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2131 @param Content The content to send along with this notification
2132 @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.
2133 @param OnComplete delegate for handling the server response
2134 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2135 */
2136 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<FString>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2137
2138 /*
2139 Send a custom notification using the notification system to the specified player.
2140
2141 @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]+$.
2142 @param Priority What priority to set for this notification
2143 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2144 @param Content The content to send along with this notification
2145 @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.
2146 @param OnComplete delegate for handling the server response
2147 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2148 */
2149 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<TSharedPtr<FJsonValue>>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest);
2150
2151 /*
2152 Send a custom notification using the notification system to the specified player.
2153
2154 @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]+$.
2155 @param Priority What priority to set for this notification
2156 @param RecipientPlayerUlid The ulid of the player that should receive this notification
2157 @param Content The content to send along with this notification
2158 @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.
2159 @param OnComplete delegate for handling the server response
2160 @return A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
2161 */
2162 template<typename T>
2163 static FString SendNotificationToPlayer(const FString& NotificationType, ELootLockerServerNotificationPriority Priority, const FString& RecipientPlayerUlid, const TArray<T>& Content, const TArray<FLootLockerServerNotificationProperty>& Properties, const FLootLockerServerSendNotificationsResponseDelegate& OnCompletedRequest)
2164 {
2165 TArray<TSharedPtr<FJsonValue>> JsonArray;
2166 int i = 0;
2167 for (const T& cont : Content)
2168 {
2169 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(cont);
2170 if (!JsonObject.IsValid())
2171 {
2173 OnCompletedRequest.ExecuteIfBound(ErrorResponse);
2174 return "";
2175 }
2176 ++i;
2177 JsonArray.Add(MakeShared<FJsonValueObject>(JsonObject));
2178 }
2179
2180 return ULootLockerServerNotificationsRequest::SendNotificationToPlayerWithJsonArrayContent(NotificationType, Priority, RecipientPlayerUlid, JsonArray, Properties, OnCompletedRequest);
2181 }
2182
2184};
void(* FLootLockerServerGetAssetsResponseDelegate)(FLootLockerServerGetAssetsResponse)
Definition LootLockerServerAssetRequest.h:820
void(* FLootLockerServerAssetInstanceKeyValuePairItemResponseDelegate)(FLootLockerServerAssetInstanceKeyValuePairItemResponse)
Definition LootLockerServerAssetRequest.h:828
void(* FLootLockerServerListContextsResponseDelegate)(FLootLockerServerListContextsResponse)
Definition LootLockerServerAssetRequest.h:836
void(* FLootLockerServerListAssetsResponseDelegate)(FLootLockerServerListAssetsResponse)
Definition LootLockerServerAssetRequest.h:832
void(* FLootLockerServerAssetInstanceKeyValuePairsListResponseDelegate)(FLootLockerServerAssetInstanceKeyValuePairsListResponse)
Definition LootLockerServerAssetRequest.h:824
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(* FLootLockerServerSplitPlayerInventoryItemStackResponseDelegate)(FLootLockerServerSplitPlayerInventoryItemStackResponse)
Definition LootLockerServerItemRequestHandler.h:455
void(* FLootLockerServerListPlayerInventoryItemsResponseDelegate)(FLootLockerServerListPlayerInventoryItemsResponse)
Definition LootLockerServerItemRequestHandler.h:439
void(* FLootLockerServerDeletePlayerInventoryItemResponseDelegate)(FLootLockerServerDeletePlayerInventoryItemResponse)
Definition LootLockerServerItemRequestHandler.h:447
void(* FLootLockerServerMergePlayerInventoryItemStacksResponseDelegate)(FLootLockerServerMergePlayerInventoryItemStacksResponse)
Definition LootLockerServerItemRequestHandler.h:459
void(* FLootLockerServerGetPlayerInventoryItemResponseDelegate)(FLootLockerServerGetPlayerInventoryItemResponse)
Definition LootLockerServerItemRequestHandler.h:443
void(* FLootLockerServerGrantItemResponseDelegate)(FLootLockerServerGrantItemResponse)
Definition LootLockerServerItemRequestHandler.h:451
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:475
void(* FLootLockerServerSetMetadataResponseDelegate)(FLootLockerServerSetMetadataResponse)
Definition LootLockerServerMetadataRequest.h:483
ELootLockerServerMetadataSources
Possible metadata sources.
Definition LootLockerServerMetadataRequest.h:20
void(* FLootLockerServerGetMultisourceMetadataResponseDelegate)(FLootLockerServerGetMultisourceMetadataResponse)
Definition LootLockerServerMetadataRequest.h:479
void(* FLootLockerServerListMetadataResponseDelegate)(FLootLockerServerListMetadataResponse)
Definition LootLockerServerMetadataRequest.h:471
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:274
void(* FLootLockerServerPlayerFileContentResponseDelegate)(FLootLockerServerPlayerFileContentResponse)
Definition LootLockerServerPlayerFileRequest.h:286
void(* FLootLockerServerPlayerFileDeleteResponseDelegate)(FLootLockerServerPlayerFileDeleteResponse)
Definition LootLockerServerPlayerFileRequest.h:278
void(* FLootLockerServerPlayerFileListResponseDelegate)(FLootLockerServerPlayerFileListResponse)
Definition LootLockerServerPlayerFileRequest.h:270
void(* FLootLockerServerPlayerFilePromoteResponseDelegate)(FLootLockerServerPlayerFilePromoteResponse)
Definition LootLockerServerPlayerFileRequest.h:290
void(* FLootLockerServerPlayerFileRevisionsListResponseDelegate)(FLootLockerServerPlayerFileRevisionsResponse)
Definition LootLockerServerPlayerFileRequest.h:282
void(* FLootLockerServerAddAssetToPlayerInventoryResponseDelegate)(FLootLockerServerAddAssetToPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:519
void(* FLootLockerServerGetPlayerInventoryResponseDelegate)(FLootLockerServerGetPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:515
void(* FLootLockerServerAlterPlayerInventoryResponseDelegate)(FLootLockerServerAlterPlayerInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:523
void(* FLootLockerServerGetPlayerLoadoutResponseDelegate)(FLootLockerServerGetPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:527
void(* FLootLockerServerEquipAssetToPlayerLoadoutResponseDelegate)(FLootLockerServerEquipAssetToPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:531
void(* FLootLockerServerGetUniversalInventoryResponseDelegate)(FLootLockerServerGetUniversalInventoryResponse)
Definition LootLockerServerPlayerInventoryRequest.h:511
void(* FLootLockerServerUnequipAssetFromPlayerLoadoutResponseDelegate)(FLootLockerServerUnequipAssetFromPlayerLoadoutResponse)
Definition LootLockerServerPlayerInventoryRequest.h:535
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:34
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...
ELootLockerServerOrderAssetListBy
Fields by which an asset list can be ordered.
Definition LootLockerServerAssetRequest.h:21
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...
ELootLockerServerOrderAssetListDirection
Sort direction when ordering an asset list.
Definition LootLockerServerAssetRequest.h:35
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 DeletePlayerInventoryItem(int PlayerID, const FString &InventoryId, const FLootLockerServerDeletePlayerInventoryItemResponseDelegate &OnCompletedRequest)
Delete a specified player item.
static FString MergePlayerInventoryItemStacks(int PlayerID, const FLootLockerServerMergeInventoryItemsRequest &Request, const FLootLockerServerMergePlayerInventoryItemStacksResponseDelegate &OnCompletedRequest)
Merge two player item stacks.
static FString SplitPlayerInventoryItemStack(int PlayerID, const FString &InventoryId, const FLootLockerServerSplitInventoryItemRequest &Request, const FLootLockerServerSplitPlayerInventoryItemStackResponseDelegate &OnCompletedRequest)
Split a specified player item stack.
static FString GrantItemToPlayerInventory(int PlayerID, const FLootLockerServerGrantItemRequest &Request, const FLootLockerServerGrantItemResponseDelegate &OnCompletedRequest)
Grant an item to the specified player.
static FString ListPlayerInventoryItems(int PlayerID, int Page, int PerPage, const FLootLockerServerListPlayerInventoryItemsResponseDelegate &OnCompletedRequest)
List the specified player's items.
static FString GetPlayerInventoryItem(int PlayerID, const FString &InventoryId, const FLootLockerServerGetPlayerInventoryItemResponseDelegate &OnCompletedRequest)
Get a specified player item.
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 ListAssets(const FLootLockerServerListAssetsRequest &Request, int PerPage, int Page, ELootLockerServerOrderAssetListBy OrderBy, ELootLockerServerOrderAssetListDirection OrderDirection, const FLootLockerServerListAssetsResponseDelegate &OnCompletedRequest)
List assets with configurable response data and optional sorting.
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:1898
static bool TryGetMetadataValueAsUStruct(const FLootLockerServerMetadataEntry &Entry, T &Output)
Definition LootLockerServerForCpp.h:1879
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:2163
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:2046
static FString ListFileRevisionsByKeyForPlayer(int PlayerID, const FString &Key, const FLootLockerServerPlayerFileRevisionsListResponseDelegate &OnCompletedRequest)
List all revisions for a player file identified by its key.
static FString ListFilesForPlayer(int PlayerID, const FLootLockerServerPlayerFileListResponseDelegate &OnCompletedRequest)
List files currently associated with the specified player.
static FString GetFileRevisionForPlayerByID(int PlayerID, int FileID, const FString &RevisionID, const FLootLockerServerPlayerFileContentResponseDelegate &OnCompletedRequest)
Get a specific revision of a player file by its revision ULID.
static FString UploadFileForPlayerByKey(int PlayerID, FString FilePath, FString Purpose, bool IsPublic, FString Key, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Upload the specified file to the specified player, using a key for upsert behavior Each file can be a...
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 DeleteFileByKeyForPlayer(int PlayerID, const FString &Key, const FLootLockerServerPlayerFileDeleteResponseDelegate &OnCompletedRequest)
Delete a player file by its key.
static FString UploadRawDataToPlayerFileByKey(int PlayerID, TArray< uint8 > RawData, const FString &FileName, FString Purpose, bool IsPublic, FString Key, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Upload the supplied raw data as a file to the specified player, using a key for upsert behavior Each ...
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 GetFileRevisionByKeyForPlayer(int PlayerID, const FString &Key, const FString &RevisionID, const FLootLockerServerPlayerFileContentResponseDelegate &OnCompletedRequest)
Get a specific revision of a player file by its key and revision ULID.
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 GetFileByKeyForPlayer(int PlayerID, const FString &Key, const FLootLockerServerSinglePlayerFileResponseDelegate &OnCompletedRequest)
Get a player file by its key (upsert key)
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 PromoteFileRevisionByKeyForPlayer(int PlayerID, const FString &Key, const FString &RevisionID, const FLootLockerServerPlayerFilePromoteResponseDelegate &OnCompletedRequest)
Promote a specific revision to be the current (active) revision of a player file identified by its ke...
static FString ListFileRevisionsForPlayer(int PlayerID, int FileID, const FLootLockerServerPlayerFileRevisionsListResponseDelegate &OnCompletedRequest)
List all revisions for a player file.
static FString PromoteFileRevisionForPlayer(int PlayerID, int FileID, const FString &RevisionID, const FLootLockerServerPlayerFilePromoteResponseDelegate &OnCompletedRequest)
Promote a specific revision to be the current (active) revision of a player file.
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 body for granting an item to a player.
Definition LootLockerServerItemRequestHandler.h:380
Request payload for simple asset listing.
Definition LootLockerServerAssetRequest.h:704
Request body for merging player item stacks.
Definition LootLockerServerItemRequestHandler.h:418
Definition LootLockerServerMetadataRequest.h:104
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
Request body for splitting a player item stack.
Definition LootLockerServerItemRequestHandler.h:404
static const int LL_ERROR_INVALID_INPUT
Definition LootLockerServerResponse.h:219