LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerSDKManager.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "CoreMinimal.h"
39#include "LootLockerSDKManager.generated.h"
40
41UCLASS(Blueprintable)
42class LOOTLOCKERSDK_API ULootLockerSDKManager : public UObject
43{
44 GENERATED_BODY()
45
46public:
47
48 //==================================================
49 // Player State
50 //==================================================
53
58 static TArray<FString> GetActivePlayerUlids();
59
65 static void SetPlayerUlidToInactive(const FString& PlayerUlid);
66
71
77 static void SetAllPlayersToInactiveExceptForPlayer(const FString& PlayerUlid);
78
84 static TArray<FString> GetCachedPlayerUlids();
85
91 static FString GetDefaultPlayerUlid();
92
99 static bool SetDefaultPlayer(const FString& PlayerUlid);
100
108
114 static void ClearCacheForPlayer(const FString& PlayerUlid);
115
121 static void ClearAllPlayerCachesExceptForPlayer(const FString& PlayerUlid);
122
126 static void ClearAllPlayerCaches();
127
129
130 //==================================================
131 // Authentication
132 //==================================================
135
141 static void StartSessionManual(const FLootLockerPlayerData& ForPlayer);
142
152 [[deprecated("This method is deprecated, please use VerifyPlayerAndStartPlaystationNetworkSession instead.")]] // Deprecation date 20250922
153 static FString StartPlaystationNetworkSession(const FString& PsnOnlineId, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
154
166 static FString VerifyPlayerAndStartPlaystationNetworkSession(const FString& AuthCode, const FString& AccountID, const FLootLockerSessionResponse& OnCompletedRequest, int PsnIssuerId = 256, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
167
178 static FString VerifyPlayerAndStartPlaystationNetworkV3Session(const FString& AuthCode, const FLootLockerSessionResponse& OnCompletedRequest, int EnvIssuerId = 256, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
179
189 static FString StartAndroidSession(const FString& DeviceId, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
190
200 static FString StartAmazonLunaSession(const FString& AmazonLunaGuid, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
201
213 static FString StartSteamSessionUsingTicket(const FString& SteamSessionTicket, const FLootLockerSessionResponse& OnCompletedRequest, const FString& SteamAppId = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
214
224 static FString StartNintendoSwitchSession(const FString& NSAIdToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
225
235 static FString StartXboxSession(const FString& XboxUserToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
236
246 static FString StartGoogleSession(const FString& IdToken, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
247
259
270 static FString RefreshGoogleSession(const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshGoogleSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
271
282 static FString RefreshGoogleSession(const FString& RefreshToken, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
283
293 static FString StartGooglePlayGamesSession(const FString& AuthCode, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
294
305 static FString RefreshGooglePlayGamesSession(const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshGooglePlayGamesSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
306
317 static FString RefreshGooglePlayGamesSession(const FString& RefreshToken, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
318
328 static FString StartAppleSession(const FString& AuthorizationCode, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
329
340 static FString RefreshAppleSession(const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshAppleSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
341
352 static FString RefreshAppleSession(const FString& RefreshToken, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
353
368 static FString StartAppleGameCenterSession(const FString& BundleId, const FString& PlayerId, const FString& PublicKeyUrl, const FString& Signature, const FString& Salt, const FString& Timestamp, const FLootLockerAppleGameCenterSessionResponseDelegate& OnStartedAppleGameCenterSessionCompleted, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
369
380 static FString RefreshAppleGameCenterSession(const FLootLockerAppleGameCenterSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshAppleGameCenterSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
381
392 static FString RefreshAppleGameCenterSession(const FString& RefreshToken, const FLootLockerAppleGameCenterSessionResponseDelegate& OnRefreshAppleGameCenterSessionCompleted, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
393
403 static FString StartEpicSession(const FString& IdToken, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
404
415 static FString RefreshEpicSession(const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshEpicSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
416
427 static FString RefreshEpicSession(const FString& RefreshToken, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
428
439 static FString StartMetaSession(const FString& UserId, const FString& Nonce, const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
440
451 static FString RefreshMetaSession(const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshMetaSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OncompletedRequest, Optionals); };
452
463 static FString RefreshMetaSession(const FString& RefreshToken, const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
464
473 static FString GuestLogin(const FLootLockerSessionResponse& OnCompletedRequest, const FString& PlayerIdentifier = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
474
484 static FString StartDiscordSession(const FString& AccessToken, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
485
496 static FString RefreshDiscordSession(const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshDiscordSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
497
508 static FString RefreshDiscordSession(const FString& RefreshToken, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
509
519 [[deprecated("This method is deprecated, please use VerifyPlayerAndStartPlaystationNetworkSession or VerifyPlayerAndStartSteamSession instead.")]] // Deprecation date 20250922
520 static FString VerifyPlayer(const FString& PlatformToken, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& Platform = FString(TEXT("")), const FString& ForPlayerWithUlid = "");
521
531 static FString EndSession(const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
532
534
535 //==================================================
536 // Connected Accounts
537 //==================================================
540
547 static FString ListConnectedAccounts(const FLootLockerListConnectedAccountsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
548
557 static FString DisconnectAccount(const ELootLockerAccountProvider AccountToDisconnect, const FLootLockerDefaultDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
558
567 static FString ConnectGoogleAccount(const FString& IdToken, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
568
578 static FString ConnectGoogleAccount(const FString& IdToken, EGoogleAccountProviderPlatform Platform, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
579
588 static FString ConnectAppleAccountByRestSignIn(const FString& AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
589
598 static FString ConnectTwitchAccount(const FString& AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
599
608 static FString ConnectEpicAccount(const FString& Token, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
609
619 static FString ConnectPlaystationAccount(const FString& Environment, const FString& Code, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
620
629 static FString ConnectDiscordAccount(const FString& Token, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
630
640 static FString ConnectRemoteSessionAccount(const FString& Code, const FString& Nonce, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
641
658 static FString TransferIdentityProvidersBetweenAccounts(const FString& FromPlayerWithUlid, const FString& ToPlayerWithUlid, TArray<ELootLockerAccountProvider> ProvidersToTransfer, const FLootLockerListConnectedAccountsResponseDelegate& OnComplete);
659
661
662 //==================================================
663 // Remote Sessions
664 //==================================================
667
682 static FString StartRemoteSession(
683 const FLootLockerLeaseRemoteSessionResponseDelegate& RemoteSessionLeaseInformation,
684 const FLootLockerRemoteSessionStatusPollingResponseDelegate& RemoteSessionLeaseStatusUpdate,
686 float PollingIntervalSeconds = 1.0f,
687 float TimeOutAfterMinutes = 5.0f,
689
704 const FString& ForPlayerWithUlid,
705 const FLootLockerLeaseRemoteSessionResponseDelegate& RemoteSessionLeaseInformation,
706 const FLootLockerRemoteSessionStatusPollingResponseDelegate& RemoteSessionLeaseStatusUpdate,
708 float PollingIntervalSeconds = 1.0f,
709 float TimeOutAfterMinutes = 5.0f,
711
717 static void CancelRemoteSessionProcess(const FString& ProcessID);
718
728 static FString RefreshRemoteSession(const FLootLockerRefreshRemoteSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "") { return RefreshRemoteSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest); };
729
739 static FString RefreshRemoteSession(const FString& RefreshToken, const FLootLockerRefreshRemoteSessionResponseDelegate& OnCompletedRequest);
740
742
743 //==================================================
744 // White Label
745 //==================================================
748
759 static FString WhiteLabelCreateAccount(const FString& Email, const FString& Password, const FLootLockerLoginResponseDelegate& OnCompletedRequest);
760
772 static FString WhiteLabelLogin(const FString& Email, const FString& Password, const FLootLockerLoginResponseDelegate& OnCompletedRequest, const bool Remember = false);
773
784
796 static FString WhiteLabelStartSessionManual(const FString& Email, const FString& WhiteLabelToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
797
808 static FString WhiteLabelLoginAndStartSession(const FString& Email, const FString& Password, const FLootLockerWhiteLabelLoginAndSessionResponseDelegate& OnCompletedRequest, const bool Remember = false, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
809
819 static FString WhiteLabelVerifySession(const FLootLockerWhiteLabelVerifySessionDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
820
828 static FString WhiteLabelRequestUserVerification(const int& UserId, const FLootLockerDefaultDelegate& OnCompletedRequest);
829
837 static FString WhiteLabelRequestUserVerificationByEmail(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
838
846 static FString WhiteLabelRequestPasswordReset(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
847
849
850 //==================================================
851 // Player calls
852 //==================================================
855
863 static FString GetCurrentPlayerInfo(const FLootLockerGetCurrentPlayerInfoResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
864
875 static FString ListPlayerInfo(TArray<FString> PlayerIdsToLookUp, TArray<int> PlayerLegacyIdsToLookUp, TArray<FString> PlayerPublicUidsToLookUp, const FLootLockerListPlayerInfoResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
876
884 static FString GetInventory(const FInventoryResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
885
894 static FString GetFullInventory(const FInventoryResponse & OnCompletedRequest, int32 StartIndex, const FString& ForPlayerWithUlid = "");
895
903 static FString CheckPlayerAssetActivationNotification(const FLootLockerAssetNotificationResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
904
912 static FString ListPlayerInventoryWithDefaultParameters(const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
913
924 static FString ListPlayerInventory(const FLootLockerListSimplifiedInventoryRequest& Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
925
934 static FString ListCharacterInventoryWithDefaultParameters(int CharacterId, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
935
947 static FString ListCharacterInventory(int CharacterId, const FLootLockerListSimplifiedInventoryRequest& Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
948
956 static FString GetCurrencyBalance(const FPBalanceResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
957
965 static FString InitiateDLCMigration(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
966
974 static FString GetDLCsMigration(const FPDlcResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
975
983 static FString SetProfilePrivate(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
984
992 static FString SetProfilePublic(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
993
1002 static FString SetPlayerName(FString Name, const FPNameResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1003
1011 static FString GetPlayerName(const FPNameResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1012
1021 [[deprecated("This method is deprecated in favor of method LookupMultiplePlayersDataUsingIDs")]] // Deprecation date 20250304
1022 static FString LookupMultiplePlayerNamesUsingIDs(const FLootLockerMultiplePlayerNamesRequest &Request, const FPMultiplePlayerNames& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1023
1032 static FString LookupMultiplePlayersDataUsingIDs(const FLootLockerLookupMultiplePlayersDataRequest& Request, const FPMultiplePlayerNames& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1033
1042 static FString LookupMultiplePlayerNames1stPlatformIDs(const FLootLockerMultiplePlayerNamesAndPlatformsRequest & Request, const FPMultiplePlayersPlatformIdsNames & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1043
1051 static FString DeletePlayer(const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1052
1054
1055 //==================================================
1056 // Files
1057 //==================================================
1060
1070 static FString UploadFile(const FLootLockerFileUploadRequest & Request, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1071
1081 static FString UpdateFile(const int32 FileId, const FLootLockerFileUpdateRequest & Request, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1082
1090 static FString ListFiles(const FLootLockerFileListDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1091
1100 static FString ListOtherPlayersPublicFiles(const int32 PlayerID, const FLootLockerFileListDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1101
1110 static FString GetSingleFile(const int32 FileID, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1111
1120 static FString DeletePlayerFile(const int32 FileID, const FLootLockerFileDeletedDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1121
1123
1124 //==================================================
1125 // Player Progressions
1126 //==================================================
1129
1139 static FString GetPlayerProgressions(const int32 & Count, const FString & After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1140
1149 static FString GetPlayerProgressions(const int32 & Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1150
1158 static FString GetPlayerProgressions(const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1159
1168 static FString GetPlayerProgression(const FString & ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1169
1179 static FString AddPointsToPlayerProgression(const FString & ProgressionKey, const int32 & Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1180
1190 static FString SubtractPointsFromPlayerProgression(const FString & ProgressionKey, const int32 & Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1191
1200 static FString ResetPlayerProgression(const FString & ProgressionKey, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1201
1210 static FString DeletePlayerProgression(const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1211
1222 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const int32& Count, const FString& After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1223
1233 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const int32& Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1234
1243 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1244
1254 static FString GetOtherPlayersProgression(const FString& PlayerUlid, const FString& ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1255
1257
1258 //==================================================
1259 // Asset Instance Progressions
1260 //==================================================
1263
1274 static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 Count, const FString & After, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete = FLootLockerPaginatedInstanceProgressionsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1284 static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 & Count, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1285
1294 static FString GetInstanceProgressions(const int32 AssetInstanceId, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1295
1305 static FString GetInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerInstanceProgressionResponseDelegate & OnComplete = FLootLockerInstanceProgressionResponseDelegate(), const FString& ForPlayerWithUlid = "");
1306
1317 static FString AddPointsToInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1318
1329 static FString SubtractPointsFromInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1330
1340 static FString ResetInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1341
1351 static FString DeleteInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete = FLootLockerDeleteProgressionDelegate(), const FString& ForPlayerWithUlid = "");
1352
1353
1355
1356 //==================================================
1357 // Heroes
1358 //==================================================
1361
1369 static FString GetGameHeroes(const FLootLockerGameHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1370
1378 static FString ListPlayerHeroes(const FLootLockerHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1379
1388 static FString ListOtherPlayersHeroesBySteamID64(const int64 SteamID64, const FLootLockerHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1389
1398 static FString CreateHero(const FLootLockerCreateHeroRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1399
1408 static FString CreateHeroWithVariation(const FLootLockerCreateHeroWithVariationRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1409
1418 static FString GetHero(const int32 HeroID, const FLootLockerPlayerHeroDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1419
1428 static FString GetOtherPlayersDefaultHeroBySteamID64(const int64 SteamID64, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1429
1439 static FString UpdateHero(const int32 HeroID, const FLootLockerUpdateHeroRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1440
1449 static FString DeleteHero(const int32 HeroID, const FLLHeroDefaultResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1450
1459 static FString GetHeroInventory(const int32 HeroID, const FInventoryResponse & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1460
1469 static FString GetHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1470
1479 static FString GetOtherPlayersHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1480
1490 static FString AddAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1491
1501 static FString AddGlobalAssetToHeroLoadout(const int32 HeroID, const int32 AssetID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1502
1513 static FString AddGlobalAssetVariationToHeroLoadout(const int32 HeroID, const int32 AssetID, const int32 AssetVariationID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1514
1524 static FString RemoveAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1525
1527
1528 //==================================================
1529 // Characters
1530 //==================================================
1533
1542 static FString GetCharacterLoadout(const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1543
1554 static FString UpdateCharacter(int CharacterId, bool IsDefault, FString & Name, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1555
1567 [[deprecated("This method is deprecated, please use CreateCharacter(bool IsDefault, const FString & CharacterName, const int & CharacterTypeId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "") instead.")]] // Deprecation date 20251023
1568 static FString CreateCharacter(bool IsDefault, const FString & CharacterName, const FString & CharacterTypeId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1569
1581 static FString CreateCharacter(bool IsDefault, const FString & CharacterName, const int & CharacterTypeId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1582
1591 static FString DeleteCharacter(int CharacterId, const FLootLockerCharacterDefaultResponse& OnCompletedRequestBP, const FString& ForPlayerWithUlid = "");
1592
1600 static FString ListCharacterTypes(const FPLootLockerListCharacterTypesResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1601
1602
1611 static FString EquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1612
1623 static FString EquipAssetToCharacterById(int CharacterId, int AssetId, int AssetVariationId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1624
1634 static FString EquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1635
1644 static FString UnEquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1645
1655 static FString UnEquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1656
1664 static FString GetCurrentLoadoutToDefaultCharacter(const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1665
1675 static FString GetOtherPlayersCurrentLoadoutToDefaultCharacter(FString OtherPlayerId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString & OtherPlayerPlatform = FString(TEXT("")), const FString& ForPlayerWithUlid = "");
1676
1684 static FString GetEquipableContextsToDefaultCharacter(const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1685
1694 static FString GetEquipableContextsByCharacterId(int OtherCharacterId, const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1695
1702 static FString ListPlayerCharacters(const FPLootLockerListPlayerCharactersResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1703
1713 static FString GetOtherPlayersCharacterLoadouts(const FString& OtherPlayerId, const FCharacterLoadoutResponse& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FString& OtherPlayerPlatform = "");
1714
1723 static FString GetOtherPlayersCharacterLoadoutsByUid(const FString& OtherPlayerUid, const FCharacterLoadoutResponse& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1724
1725
1727
1728 //==================================================
1729 // Character Progressions
1730 //==================================================
1733
1744 static FString GetCharacterProgressions(const int32 & CharacterId, const int32 & Count, const FString & After, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1745
1755 static FString GetCharacterProgressions(const int32 & CharacterId, const int32 & Count, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1756
1765 static FString GetCharacterProgressions(const int32 & CharacterId, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1766
1776 static FString GetCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerCharacterProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1777
1788 static FString AddPointsToCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const int32 & Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1789
1800 static FString SubtractPointsFromCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const int32 & Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1801
1811 static FString ResetCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1812
1822 static FString DeleteCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1823
1825
1826 //==================================================
1827 // Persistent Storage
1828 //==================================================
1831
1840 static FString GetEntirePersistentStorage(const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1841
1851 static FString GetItemFromPersistentStorage(const FString & Key, const FPersistentStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1852
1862 static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItems Items, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1863
1873 static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItem Item, const FPersistentStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1874
1884 static FString DeleteItemFromPersistentStorage(const FString & Key, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1885
1895 static FString GetPlayerPersistentStorage(const FString & PlayerId, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1896
1898
1899 //==================================================
1900 // Assets
1901 //==================================================
1904
1912 static FString GetContexts(const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1913
1926 static FString GetAssets(const FAssetsResponseDelegate & OnCompletedRequest, int StartFromIndex = 0, int ItemsCount = 50, ELootLockerAssetFilter AssetFilter = ELootLockerAssetFilter::None, int Context = 0, bool IncludeUGC = false, const FString& ForPlayerWithUlid = "");
1927
1937 static FString GetUniversalAssets(int After, int ItemsCount, const FUniversalAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1938
1947 static FString GetAssetsByIds(const TArray<int>&AssetIds, const FAssetsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1948
1956 static FString GetAssetBones(const FAssetBonesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1957
1965 static FString GetFavouriteAssetIndices(const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1966
1975 static FString AddAssetToFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1976
1985 static FString RemoveAssetFromFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1986
1996 static FString GrantAssetToPlayerInventory(const int AssetID, const int AssetVariationID, const int AssetRentalOptionID, const FGrantAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1997
2005 static FString GrantAssetToPlayerInventory(const int AssetID, const FGrantAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") {
2006 return GrantAssetToPlayerInventory(AssetID, 0, 0, OnCompletedRequest, ForPlayerWithUlid);
2007 }
2008
2016 static FString ListAssetsWithDefaultParameters(const FListSimpleAssetsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2017
2031 static FString ListAssets(const FLootLockerListSimpleAssetsRequest& Request, const FListSimpleAssetsResponseDelegate & OnCompletedRequest, int PerPage = 0, int Page = 0, ELootLockerOrderAssetListBy OrderBy = ELootLockerOrderAssetListBy::None, ELootLockerOrderAssetListDirection OrderDirection = ELootLockerOrderAssetListDirection::None, const FString& ForPlayerWithUlid = "");
2032
2033
2035
2036 //==================================================
2037 // Asset Instances
2038 //==================================================
2041
2050 static FString GetAllKeyValuePairsForAssetInstance(int AssetInstanceId, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2051
2061 static FString GetAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2062
2072 static FString CreateAKeyValuePairForAssetInstance(int AssetInstanceId, const FLootLockerAssetInstanceStorageItem & Item, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2073
2083 static FString UpdateOneOrMoreKeyValuePairForAssetInstance(int AssetInstanceId, FLootLockerAssetInstanceStorageItems Items, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2084
2095 static FString UpdateAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FLootLockerAssetInstanceStorageItem Item, const FAssetInstanceStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2096
2106 static FString DeleteAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2107
2116 static FString InspectLootBox(int AssetInstanceId, const FLootBoxContentResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2117
2126 static FString OpenLootBox(int AssetInstanceId, const FOpenLootBoxResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2127
2136 static FString DeleteAssetInstanceFromPlayerInventory(int AssetInstanceID, const FDeleteAssetInstanceResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2137
2138
2140
2141 //==================================================
2142 // User Generated Content
2143 //==================================================
2146
2155 static FString CreateAssetCandidate(const FLootLockerCreateAssetCandidateData & AssetCandidateData, const FCreateAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2156
2165 static FString CreateAssetCandidateAndMarkComplete(const FLootLockerCreateAssetCandidateData & AssetCandidateData, const FCreateAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2166
2176 static FString UpdateAssetCandidate(int AssetCandidateId, const FLootLockerUpdateAssetCandidateData & AssetCandidateData, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2177
2186 static FString DeleteAssetCandidate(int AssetCandidateId, const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2187
2195 static FString GetAllAssetCandidates(const FAssetCandidatesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2196
2205 static FString GetAssetCandidate(int AssetCandidateId, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2206
2217 static FString AddFileToAssetCandidate(int AssetCandidateId, const FString & FilePath, ELootLockerAssetFilePurpose FilePurpose, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2218
2228 static FString DeleteFileFromAssetCandidate(int AssetCandidateId, int FileId, const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2229
2231
2232 //==================================================
2233 // Progressions
2234 //==================================================
2237
2247 static FString GetProgressions(const int32 & Count, const FString & After, const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2248
2257 static FString GetProgressions(const int32 & Count, const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2258
2266 static FString GetProgressions(const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2267
2276 static FString GetProgression(const FString & ProgressionKey, const FLootLockerProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2277
2288 static FString GetProgressionTiers(const FString & ProgressionKey, const int32 & Count, const int32 & After, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2289
2299 static FString GetProgressionTiers(const FString & ProgressionKey, const int32 & Count, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2300
2309 static FString GetProgressionTiers(const FString & ProgressionKey, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2310
2312
2313 //==================================================
2314 // Maps
2315 //==================================================
2318
2326 static FString GetMaps(const FGetMapsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2327
2329
2330 //==================================================
2331 // Purchases
2332 //==================================================
2335
2344 static FString ActivateRentalAsset(int AssetInstanceId, const FActivateRentalAssetResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2345
2355 static FString LootLockerPurchaseSingleCatalogItem(const FString & WalletId, const FString & CatalogItemListingId, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2356
2366 static FString LootLockerPurchaseCatalogItems(const FString & WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair> ItemsToPurchase, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2367
2377 static FString RedeemAppleAppStorePurchaseForPlayer(const FString & TransactionId, const FLootLockerDefaultDelegate & OnCompletedRequest, bool Sandboxed = false, const FString& ForPlayerWithUlid = "");
2378
2389 static FString RedeemAppleAppStorePurchaseForClass(const int ClassId, const FString & TransactionId, const FLootLockerDefaultDelegate & OnCompletedRequest, bool Sandboxed = false, const FString& ForPlayerWithUlid = "");
2390
2400 static FString RedeemGooglePlayStorePurchaseForPlayer(const FString & ProductId, const FString & PurchaseToken, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2401
2412 static FString RedeemGooglePlayStorePurchaseForClass(const int ClassId, const FString & ProductId, const FString & PurchaseToken, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2413
2425 static FString RedeemEpicStorePurchase(const FString& AccountId, const FString& BearerToken, const TArray<FString>& EntitlementIds, const FString& SandboxId, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2426
2439 static FString RedeemEpicStorePurchaseForCharacter(const FString& CharacterId, const FString& AccountId, const FString& BearerToken, const TArray<FString>& EntitlementIds, const FString& SandboxId, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2440
2441#ifdef LOOTLOCKER_BETA_PLAYSTATION_IAP
2456 //static FString RedeemPlayStationStorePurchase(const FString& TransactionId, const FString& AuthCode, const FString& EntitlementLabel, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ServiceLabel = "", const FString& ServiceName = "", const int Environment = -1, const int UseCount = -1, const FString& ForPlayerWithUlid = "");
2457
2473 //static FString RedeemPlayStationStorePurchaseForCharacter(const FString& CharacterId, const FString& TransactionId, const FString& AuthCode, const FString& EntitlementLabel, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ServiceLabel = "", const FString& ServiceName = "", const int Environment = -1, const int UseCount = -1, const FString& ForPlayerWithUlid = "");
2474#endif
2475
2488 static FString BeginSteamPurchaseRedemption(const FString & SteamId, const FString & Currency, const FString & Language, const FString & CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2489
2503 static FString BeginSteamPurchaseRedemptionForClass(const int ClassId, const FString & SteamId, const FString & Currency, const FString & Language, const FString & CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2504
2513 static FString QuerySteamPurchaseRedemptionStatus(const FString & EntitlementId, const FLootLockerQuerySteamPurchaseRedemptionStatusDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2514
2523 static FString FinalizeSteamPurchaseRedemption(const FString & EntitlementId, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2524
2534 static FString InitiateAsyncPurchaseCatalogItems(const FString& WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair>& Items, const FLootLockerAsyncPurchaseInitiatedDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2535
2544 static FString GetAsyncPurchaseStatus(const FString& EntitlementId, const FLootLockerAsyncPurchaseStatusDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2545
2556 static FString RetryAsyncPurchase(const FString& EntitlementId, const FString& WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair>& Items, const FLootLockerAsyncPurchaseInitiatedDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2557
2571 static FString StartAsyncPurchasePolling(const FString& WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair>& Items, const FLootLockerAsyncPurchaseStatusDelegate& OnStatusUpdate, const FLootLockerAsyncPurchaseStatusDelegate& OnComplete, float PollingIntervalSeconds = 1.0f, float TimeoutAfterMinutes = 5.0f, const FString& ForPlayerWithUlid = "");
2572
2578 static void CancelAsyncPurchasePolling(const FString& ProcessID);
2579
2594 static FString RefundByEntitlementIds(const TArray<FString>& EntitlementIds, const FLootLockerRefundByEntitlementIdsDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2595
2609 static FString CreateStripeCheckoutSession(const FString& CatalogItemId, const FLootLockerCreateStripeCheckoutSessionDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2610
2612
2613 //==================================================
2614 // Triggers
2615 //==================================================
2618
2629 static FString InvokeTriggersByKey(const TArray<FString>&KeysToInvoke, const FLootLockerInvokeTriggersByKeyResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2630
2632
2633 //==================================================
2634 // Notifications
2635 //==================================================
2638
2646 static FString ListNotificationsWithDefaultParameters(const FLootLockerListNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2647
2661 static FString ListNotifications(bool ShowRead, const FString & OfType, const FString & WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2662
2677 static FString ListNotificationsWithPriority(ELootLockerNotificationPriority WithPriority, bool ShowRead, const FString & OfType, const FString & WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2678
2686 template<typename T>
2688 {
2689 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
2690 if (!Content.TryGetContentBodyAsJsonObject(jsonObject))
2691 {
2692 return false;
2693 }
2694 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
2695 }
2696
2705 static FString MarkAllNotificationsAsRead(const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2706
2715 static FString MarkNotificationsAsRead(const TArray<FLootLockerNotification>&Notifications, const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2716
2725 static FString MarkNotificationsAsReadByIds(const TArray<FString>&NotificationIDs, const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2726
2728
2729 //==================================================
2730 // Broadcasts
2731 //==================================================
2734
2742 static FString ListTopBroadcasts(const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2743
2752 static FString ListTopBroadcastsLocalized(const TArray<FString>& Languages, const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2753
2763 static FString ListBroadcasts(const TArray<FString>& Languages, int32 Limit, const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2764
2766
2767 //==================================================
2768 // Messages
2769 //==================================================
2772
2780 static FString GetMessages(const FMessagesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2781
2783
2784 //==================================================
2785 // Leaderboard
2786 //==================================================
2789
2797 static FString ListLeaderboards(const FLootLockerListLeaderboardsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") {
2798 return ListLeaderboards(-1, 0, OnCompletedRequest, ForPlayerWithUlid);
2799 };
2800
2810 static FString ListLeaderboards(int Count, int After, const FLootLockerListLeaderboardsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2811
2821 static FString GetMemberRank(FString LeaderboardKey, FString MemberId, const FLootLockerGetMemberRankResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2822
2832 static FString GetByListOfMembers(TArray<FString> Members, FString LeaderboardKey, const FLootLockerGetByListOfMembersResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2833
2844 static FString GetScoreList(FString LeaderboardKey, int Count, int After, const FLootLockerGetScoreListResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2845
2855 static FString GetScoreListInitial(FString LeaderboardKey, int Count, const FLootLockerGetScoreListResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2856
2868 static FString SubmitScore(FString MemberId, const FString LeaderboardKey, const int Score, FString Metadata, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2869
2879 static FString QueryScore(const FString LeaderboardKey, const int Score, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2880
2891 static FString IncrementScore(FString MemberId, const FString LeaderboardKey, const int Amount, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2892
2903 static FString GetAllMemberRanks(FString MemberId, const int Count, const int After, const FLootLockerGetAllMemberRanksResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2904
2913 static FString ListLeaderboardArchive(const FString & LeaderboardKey, const FLootLockerLeaderboardArchiveResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2914
2925 static FString GetLeaderboardArchive(const FString & Key, int Count, const FString & After, const FLootLockerLeaderboardArchiveDetailResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2926
2935 static FString GetLeaderboardArchive(const FString & Key, const FLootLockerLeaderboardArchiveDetailResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") { return GetLeaderboardArchive(Key, -1, "", OnCompletedRequest); }
2936
2945 static FString GetLeaderboardDetails(const FString & LeaderboardKey, const FLootLockerLeaderboardDetailsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2946
2948
2949 //==================================================
2950 // Drop Table
2951 //==================================================
2954
2963 static FString ComputeAndLockDropTable(const int TableId, const FLootLockerComputeAndLockDropTableResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2964
2974 static FString PickDropsFromDropTable(const TArray<int> Picks, const int TableId, const FFLootLockerPickDropsFromDropTableResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2975
2977
2978 //==================================================
2979 // Currencies
2980 //==================================================
2983
2991 static FString ListCurrencies(const FLootLockerListCurrenciesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2992
3001 static FString GetCurrencyDetails(const FString & CurrencyCode, const FLootLockerGetCurrencyDetailsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3002
3011 static FString GetCurrencyDenominationsByCode(const FString & CurrencyCode, const FLootLockerListDenominationsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3012
3014
3015 //==================================================
3016 // Balances
3017 //==================================================
3020
3029 static FString ListBalancesInWallet(const FString & WalletID, const FLootLockerListBalancesForWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3030
3039 static FString GetWalletByWalletID(const FString & WalletID, const FLootLockerGetWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3040
3050 static FString GetWalletByHolderID(const FString & HolderULID, const ELootLockerWalletHolderTypes & HolderType, const FLootLockerGetWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3051
3062 static FString CreditBalanceToWallet(const FString & WalletID, const FString & CurrencyID, const FString & Amount, const FLootLockerCreditWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3063
3074 static FString DebitBalanceToWallet(const FString & WalletID, const FString & CurrencyID, const FString & Amount, const FLootLockerDebitWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3075
3077
3078 //==================================================
3079 // Catalogs
3080 //==================================================
3083
3090 static FString ListCatalogs(const FLootLockerListCatalogsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3091
3102 [[deprecated("This method is deprecated, please use ListCatalogItems(const FString & CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") instead.")]] // Deprecation date 20251016
3103 static FString ListCatalogItems(const FString & CatalogKey, int Count, const FString & After, const FLootLockerListCatalogPricesResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3104
3113 [[deprecated("This method is deprecated, please use ListCatalogItems(const FString & CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") instead.")]] // Deprecation date 20251016
3114 static FString ListCatalogItems(const FString & CatalogKey, const FLootLockerListCatalogPricesResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "")
3115 {
3116#pragma warning(suppress : 4996)
3117 return ListCatalogItems(CatalogKey, -1, "", OnComplete, ForPlayerWithUlid);
3118#pragma warning(default : 4996)
3119 }
3120
3131 static FString ListCatalogItems(const FString & CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3132
3141 static FString ListCatalogItems(const FString & CatalogKey, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") { return ListCatalogItems(CatalogKey, -1, 0, OnComplete, ForPlayerWithUlid); }
3142
3144
3145 //==================================================
3146 // Entitlements
3147 //==================================================
3150
3160 static FString ListEntitlements(int Count, const FString & After, const FLootLockerListEntitlementsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3161
3169 static FString ListEntitlements(const FLootLockerListEntitlementsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") { return ListEntitlements(-1, "", OnComplete, ForPlayerWithUlid); }
3170
3179 static FString GetEntitlement(const FString & EntitlementID, FLootLockerSingleEntitlementResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3180
3182
3183 //==================================================
3184 // Feedback
3185 //==================================================
3188
3196 static FString ListPlayerFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3197
3205 static FString ListGameFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3206
3214 static FString ListUGCFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3215
3226 static FString SendPlayerFeedback(const FString & Ulid, const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3227
3237 static FString SendGameFeedback(const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3238
3249 static FString SendUGCFeedback(const FString & Ulid, const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3250
3263 static FString SendLootLockerErrorReport(const FString& UserDescription, const FLootLockerResponse& FailedResponse, const FLootLockerSendErrorReportDelegate& OnComplete);
3264
3266
3267 //==================================================
3268 // Metadata
3269 //==================================================
3272
3283 static FString ListMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3284
3297 static FString ListMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const int Page, const int PerPage, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3298
3310 static FString ListMetadataWithTags(const ELootLockerMetadataSources Source, const FString & SourceID, const TArray<FString>&Tags, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3311
3325 static FString ListMetadataWithTags(const ELootLockerMetadataSources Source, const FString & SourceID, const TArray<FString>&Tags, const int Page, const int PerPage, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3326
3338 static FString GetMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const FString & Key, const FLootLockerGetMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3339
3349 static FString GetMultisourceMetadata(const TArray<FLootLockerMetadataSourceAndKeys>&SourcesAndKeysToGet, const FLootLockerGetMultisourceMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3350
3361 static FString SetMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const TArray<FLootLockerSetMetadataAction>&MetadataToActionsToPerform, const FLootLockerSetMetadataResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3362
3370 template<typename T>
3371 static bool TryGetMetadataValueAsUStruct(const FLootLockerMetadataEntry& Entry, T& Output)
3372 {
3373 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
3374 if (!Entry.TryGetValueAsJsonObject(jsonObject))
3375 {
3376 return false;
3377 }
3378 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
3379 }
3380
3390 template<typename T>
3391 static FLootLockerMetadataEntry MakeMetadataEntryWithUStructValue(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const T& Value)
3392 {
3393 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Value);
3394 if (!JsonObject.IsValid())
3395 {
3396 return FLootLockerMetadataEntry();
3397 }
3399 Entry.SetValueAsJsonObject(*JsonObject);
3400 return Entry;
3401 }
3402
3404
3405 //==================================================
3406 // Followers
3407 //==================================================
3410
3419 static FString ListFollowers(const FString& PlayerPublicId, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3420
3428 static FString ListFollowers(const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3429
3439 static FString ListFollowersPaginated(const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3440
3451 static FString ListFollowersPaginated(const FString& PlayerPublicId, const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3452
3461 static FString ListFollowing(const FString& PlayerPublicId, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3462
3470 static FString ListFollowing(const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3480 static FString ListFollowingPaginated(const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3491 static FString ListFollowingPaginated(const FString& PlayerPublicId, const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3492
3501 static FString FollowPlayer(const FString& PlayerPublicId, const FLootLockerFollowActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3502
3511 static FString UnfollowPlayer(const FString& PlayerPublicId, const FLootLockerFollowActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3512
3514
3515 //==================================================
3516 // Friends
3517 //==================================================
3520
3528 static FString ListFriends(const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3529
3539 static FString ListFriendsPaginated(int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3540
3551 static FString ListFriendsByPlatform(const ELootLockerPlatform Platform, int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3552
3560 static FString ListIncomingFriendRequests(const FLootLockerListIncomingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3570 static FString ListIncomingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListIncomingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3571
3579 static FString ListOutgoingFriendRequests(const FLootLockerListOutgoingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3589 static FString ListOutgoingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListOutgoingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3590
3599 static FString SendFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3600
3611 static FString DeleteFriend(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3612
3621 static FString CancelOutgoingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3622
3631 static FString AcceptIncomingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3632
3641 static FString DeclineIncomingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3642
3650 static FString ListBlockedPlayers(const FLootLockerListBlockedPlayersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3660 static FString ListBlockedPlayersPaginated(int32 Page, int32 PerPage, const FLootLockerListBlockedPlayersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3661
3670 static FString GetFriend(const FString& FriendUlid, const FLootLockerGetFriendResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3671
3680 static FString BlockPlayer(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3681
3690 static FString UnblockPlayer(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3691
3693
3694 //==================================================
3695 // Miscellaneous
3696 //==================================================
3699
3707 static FString GetServerTime(const FTimeResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3708
3716 static FString GetLastActivePlatform(const FString& ForPlayerWithUlid = "");
3717
3724 static FString GetGameInfo(const FGameInfoResponseDelegate& OnComplete);
3725
3727
3728 //==================================================
3729 // Presence
3730 //==================================================
3733
3744 static void ForceStartPresenceConnection(const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3745
3756 static void ForceStopPresenceConnection(const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3757
3766
3774 static TArray<FString> ListPresenceConnections();
3775
3786 static void UpdatePresenceStatus(const FString& Status, const TMap<FString, FString>& Metadata, const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3787
3796 static ELootLockerPresenceConnectionState GetPresenceConnectionState(const FString& ForPlayerWithUlid = TEXT(""));
3797
3806 static bool IsPresenceConnected(const FString& ForPlayerWithUlid = TEXT(""));
3807
3816 static FLootLockerPresenceConnectionStats GetPresenceConnectionStats(const FString& ForPlayerWithUlid = TEXT(""));
3817
3826 static FString GetCurrentPresenceStatus(const FString& ForPlayerWithUlid = TEXT(""));
3827
3835 static void SetPresenceEnabled(bool bEnabled);
3836
3844 static bool IsPresenceEnabled();
3845
3853 static void SetPresenceAutoConnectEnabled(bool bEnabled);
3854
3863
3874
3884
3885};
void(* FLootLockerSendErrorReportDelegate)(FLootLockerResponse)
Definition LootLockerErrorReportRequestHandler.h:61
void(* FLootLockerDefaultDelegate)(FLootLockerResponse)
Definition LootLockerResponse.h:38
void(* FResponseCallback)(FLootLockerResponse)
Definition LootLockerResponse.h:39
Definition LootLockerSDKManager.h:43
static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 Count, const FString &After, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete=FLootLockerPaginatedInstanceProgressionsResponseDelegate(), const FString &ForPlayerWithUlid="")
static FString ResetInstanceProgression(const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
static FString SubtractPointsFromInstanceProgression(const int32 AssetInstanceId, const FString &ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
static FString DeleteInstanceProgression(const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerDeleteProgressionDelegate &OnComplete=FLootLockerDeleteProgressionDelegate(), const FString &ForPlayerWithUlid="")
static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 &Count, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
static FString GetInstanceProgressions(const int32 AssetInstanceId, const FLootLockerPaginatedInstanceProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
static FString AddPointsToInstanceProgression(const int32 AssetInstanceId, const FString &ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate &OnComplete=FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString &ForPlayerWithUlid="")
static FString GetInstanceProgression(const int32 AssetInstanceId, const FString &ProgressionKey, const FLootLockerInstanceProgressionResponseDelegate &OnComplete=FLootLockerInstanceProgressionResponseDelegate(), const FString &ForPlayerWithUlid="")
static FString CreateAKeyValuePairForAssetInstance(int AssetInstanceId, const FLootLockerAssetInstanceStorageItem &Item, const FAssetInstanceStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create a key/value pair for an asset instance.
static FString InspectLootBox(int AssetInstanceId, const FLootBoxContentResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Inspect a loot box asset instance for drop rates and potential contents.
void(* FOpenLootBoxResponseDelegate)(FLootLockerOpenLootBoxResponse)
C++ response callback delegate; receives an FLootLockerOpenLootBoxResponse result.
Definition LootLockerAssetInstancesRequestHandler.h:96
static FString UpdateOneOrMoreKeyValuePairForAssetInstance(int AssetInstanceId, FLootLockerAssetInstanceStorageItems Items, const FAssetInstanceStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Update one or more key/value pairs for an asset instance.
static FString GetAllKeyValuePairsForAssetInstance(int AssetInstanceId, const FAssetInstanceStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List all key/value pairs for an asset instance.
void(* FDeleteAssetInstanceResponseDelegate)(FLootLockerDeleteAssetInstanceResponse)
C++ response callback delegate; receives an FLootLockerDeleteAssetInstanceResponse result.
Definition LootLockerAssetInstancesRequestHandler.h:98
void(* FAssetInstanceStorageItemsResponseDelegate)(FLootLockerAssetInstanceStorageItemsResponse)
C++ response callback delegate; receives an FLootLockerAssetInstanceStorageItemsResponse result.
Definition LootLockerAssetInstancesRequestHandler.h:90
static FString GetAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a single key/value pair for an asset instance.
void(* FAssetInstanceStorageItemResponseDelegate)(FLootLockerAssetInstanceStorageItemResponse)
C++ response callback delegate; receives an FLootLockerAssetInstanceStorageItemResponse result.
Definition LootLockerAssetInstancesRequestHandler.h:92
void(* FLootBoxContentResponseDelegate)(FLootLockerLootBoxContentResponse)
C++ response callback delegate; receives an FLootLockerLootBoxContentResponse result.
Definition LootLockerAssetInstancesRequestHandler.h:94
static FString DeleteAssetInstanceFromPlayerInventory(int AssetInstanceID, const FDeleteAssetInstanceResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Delete an asset instance permanently from the player's inventory (irreversible).
static FString UpdateAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FLootLockerAssetInstanceStorageItem Item, const FAssetInstanceStorageItemResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Update a single key/value pair for an asset instance by storage item id.
static FString OpenLootBox(int AssetInstanceId, const FOpenLootBoxResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Open a loot box asset instance (consumes the instance and grants contents).
static FString DeleteAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Delete a key/value pair for an asset instance by storage item id.
static FString ListAssets(const FLootLockerListSimpleAssetsRequest &Request, const FListSimpleAssetsResponseDelegate &OnCompletedRequest, int PerPage=0, int Page=0, ELootLockerOrderAssetListBy OrderBy=ELootLockerOrderAssetListBy::None, ELootLockerOrderAssetListDirection OrderDirection=ELootLockerOrderAssetListDirection::None, const FString &ForPlayerWithUlid="")
List assets returning only selected fields (performance focused).
static FString GrantAssetToPlayerInventory(const int AssetID, const int AssetVariationID, const int AssetRentalOptionID, const FGrantAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Grant an asset (optionally with variation and rental option) to the player.
static FString GetUniversalAssets(int After, int ItemsCount, const FUniversalAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List universal assets (paginated).
static FString GetAssetBones(const FAssetBonesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List default bones and any binding overrides.
static FString GetContexts(const FContextDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get all the contexts the game has.
ELootLockerOrderAssetListBy
Fields by which an asset list can be ordered.
Definition LootLockerAssetsRequestHandler.h:294
static FString ListAssetsWithDefaultParameters(const FListSimpleAssetsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List assets with default pagination and no filters (lightweight helper).
static FString GrantAssetToPlayerInventory(const int AssetID, const FGrantAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Grant an asset to the player (no variation or rental option).
Definition LootLockerSDKManager.h:2005
void(* FContextDelegate)(FLootLockerGetContextResponse)
C++ response callback delegate; receives an FLootLockerGetContextResponse result.
Definition LootLockerAssetsRequestHandler.h:579
void(* FAssetBonesResponseDelegate)(FLootLockerGetAssetBonesResponse)
C++ response callback delegate; receives an FLootLockerGetAssetBonesResponse result.
Definition LootLockerAssetsRequestHandler.h:583
static FString GetAssetsByIds(const TArray< int > &AssetIds, const FAssetsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Retrieve specific assets by id.
void(* FAssetsResponseDelegate)(FLootLockerGetAssetsResponse)
C++ response callback delegate; receives an FLootLockerGetAssetsResponse result.
Definition LootLockerAssetsRequestHandler.h:581
ELootLockerOrderAssetListDirection
Sort direction when ordering an asset list.
Definition LootLockerAssetsRequestHandler.h:308
ELootLockerAssetFilter
Filters applicable when querying the asset list.
Definition LootLockerAssetsRequestHandler.h:278
void(* FGrantAssetResponseDelegate)(FLootLockerGrantAssetResponse)
C++ response callback delegate; receives an FLootLockerGrantAssetResponse result.
Definition LootLockerAssetsRequestHandler.h:589
void(* FUniversalAssetResponseDelegate)(FLootLockerUniversalAssetsResponse)
C++ response callback delegate; receives an FLootLockerUniversalAssetsResponse result.
Definition LootLockerAssetsRequestHandler.h:587
static FString GetAssets(const FAssetsResponseDelegate &OnCompletedRequest, int StartFromIndex=0, int ItemsCount=50, ELootLockerAssetFilter AssetFilter=ELootLockerAssetFilter::None, int Context=0, bool IncludeUGC=false, const FString &ForPlayerWithUlid="")
List assets (paginated) with optional filtering.
void(* FGetFavouriteAssetIndicesResponseDelegate)(FLootLockerGetFavouriteAssetIndicesResponse)
C++ response callback delegate; receives an FLootLockerGetFavouriteAssetIndicesResponse result.
Definition LootLockerAssetsRequestHandler.h:585
static FString AddAssetToFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Add an asset to the player's favourites.
static FString GetFavouriteAssetIndices(const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List the player's favourite asset ids.
static FString RemoveAssetFromFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Remove an asset from the player's favourites.
void(* FListSimpleAssetsResponseDelegate)(FLootLockerListSimpleAssetsResponse)
C++ response callback delegate; receives an FLootLockerListSimpleAssetsResponse result.
Definition LootLockerAssetsRequestHandler.h:591
void(* FLootLockerWhiteLabelLoginAndSessionResponseDelegate)(FLootLockerWhiteLabelLoginAndSessionResponse)
C++ response callback delegate; receives an FLootLockerWhiteLabelLoginAndSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:580
static FString StartGooglePlayGamesSession(const FString &AuthCode, const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Google Play Games user.
static FString StartMetaSession(const FString &UserId, const FString &Nonce, const FLootLockerMetaSessionResponseDelegate &OncompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Meta / Oculus user.
static FString StartGoogleSessionForPlatform(const FString &IdToken, ELootLockerGoogleClientPlatform Platform, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Google user targeting a specific Google OAuth2 Client ID platform.
static FString StartGoogleSession(const FString &IdToken, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Google user (default platform).
static FString RefreshDiscordSession(const FLootLockerDiscordSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh a Discord session.
Definition LootLockerSDKManager.h:496
static FString StartAppleSession(const FString &AuthorizationCode, const FLootLockerAppleSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session using Sign in with Apple.
static FString RefreshAppleGameCenterSession(const FLootLockerAppleGameCenterSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Apple Game Center session.
Definition LootLockerSDKManager.h:380
static FString StartDiscordSession(const FString &AccessToken, const FLootLockerDiscordSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Discord user.
static FString RefreshAppleSession(const FString &RefreshToken, const FLootLockerAppleSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Sign in with Apple session using an explicit refresh token.
static FString StartAppleGameCenterSession(const FString &BundleId, const FString &PlayerId, const FString &PublicKeyUrl, const FString &Signature, const FString &Salt, const FString &Timestamp, const FLootLockerAppleGameCenterSessionResponseDelegate &OnStartedAppleGameCenterSessionCompleted, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session using Apple Game Center identity verification.
void(* FLootLockerGoogleSessionResponseDelegate)(FLootLockerGoogleSessionResponse)
C++ response callback delegate; receives an FLootLockerGoogleSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:570
void(* FLootLockerMetaSessionResponseDelegate)(FLootLockerMetaSessionResponse)
C++ response callback delegate; receives an FLootLockerMetaSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:584
void(* FLootLockerAppleSessionResponseDelegate)(FLootLockerAppleSessionResponse)
C++ response callback delegate; receives an FLootLockerAppleSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:568
void(* FLootLockerDiscordSessionResponseDelegate)(FLootLockerDiscordSessionResponse)
C++ response callback delegate; receives an FLootLockerDiscordSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:586
static FString StartAmazonLunaSession(const FString &AmazonLunaGuid, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for an Amazon Luna user.
static FString StartNintendoSwitchSession(const FString &NSAIdToken, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Nintendo Switch user.
void(* FLootLockerWhiteLabelVerifySessionDelegate)(FLootLockerWhiteLabelVerifySessionResponse)
C++ response callback delegate; receives an FLootLockerWhiteLabelVerifySessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:578
static FString GuestLogin(const FLootLockerSessionResponse &OnCompletedRequest, const FString &PlayerIdentifier="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a guest session.
void(* FLootLockerAppleGameCenterSessionResponseDelegate)(FLootLockerAppleGameCenterSessionResponse)
C++ response callback delegate; receives an FLootLockerAppleGameCenterSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:582
static FString RefreshAppleGameCenterSession(const FString &RefreshToken, const FLootLockerAppleGameCenterSessionResponseDelegate &OnRefreshAppleGameCenterSessionCompleted, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Apple Game Center session using an explicit refresh token.
static void StartSessionManual(const FLootLockerPlayerData &ForPlayer)
Add a player state manually from externally sourced data (e.g.
static FString StartAndroidSession(const FString &DeviceId, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for an Android user.
static FString RefreshGoogleSession(const FString &RefreshToken, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google session using an explicit refresh token.
static FString RefreshEpicSession(const FString &RefreshToken, const FLootLockerEpicSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Epic session using an explicit refresh token.
void(* FLootLockerSessionResponse)(FLootLockerAuthenticationResponse)
C++ response callback delegate; receives an FLootLockerAuthenticationResponse result.
Definition LootLockerAuthenticationRequestHandler.h:566
void(* FLootLockerEpicSessionResponseDelegate)(FLootLockerEpicSessionResponse)
C++ response callback delegate; receives an FLootLockerEpicSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:574
static FString RefreshDiscordSession(const FString &RefreshToken, const FLootLockerDiscordSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh a Discord session with an explicit refresh token.
static FString VerifyPlayerAndStartPlaystationNetworkV3Session(const FString &AuthCode, const FLootLockerSessionResponse &OnCompletedRequest, int EnvIssuerId=256, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a PlayStation Network session (v3 flow – tokens starting with v3).
static FString RefreshMetaSession(const FString &RefreshToken, const FLootLockerMetaSessionResponseDelegate &OncompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Meta / Oculus session using an explicit refresh token.
static FString StartPlaystationNetworkSession(const FString &PsnOnlineId, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a PlayStation Network session (Deprecated – use VerifyPlayerAndStartPlaystationNetworkSession).
static FString StartXboxSession(const FString &XboxUserToken, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for an Xbox user.
static FString StartEpicSession(const FString &IdToken, const FLootLockerEpicSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for an Epic Online Services (EOS) user.
static FString EndSession(const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
End the active session (if any).
static FString StartSteamSessionUsingTicket(const FString &SteamSessionTicket, const FLootLockerSessionResponse &OnCompletedRequest, const FString &SteamAppId="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a LootLocker session for a Steam user using a session ticket.
static FString VerifyPlayerAndStartPlaystationNetworkSession(const FString &AuthCode, const FString &AccountID, const FLootLockerSessionResponse &OnCompletedRequest, int PsnIssuerId=256, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a PlayStation Network session (v1/v2).
static FString RefreshGooglePlayGamesSession(const FString &RefreshToken, const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google Play Games session using an explicit refresh token.
void(* FLootLockerLoginResponseDelegate)(FLootLockerLoginResponse)
C++ response callback delegate; receives an FLootLockerLoginResponse result.
Definition LootLockerAuthenticationRequestHandler.h:576
static FString RefreshEpicSession(const FLootLockerEpicSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Epic session.
Definition LootLockerSDKManager.h:415
static FString RefreshGoogleSession(const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google session.
Definition LootLockerSDKManager.h:270
static FString RefreshGooglePlayGamesSession(const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google Play Games session.
Definition LootLockerSDKManager.h:305
ELootLockerGoogleClientPlatform
Google OAuth2 Client platform.
Definition LootLockerAuthenticationRequestHandler.h:19
static FString RefreshAppleSession(const FLootLockerAppleSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Sign in with Apple session.
Definition LootLockerSDKManager.h:340
static FString VerifyPlayer(const FString &PlatformToken, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &Platform=FString(TEXT("")), const FString &ForPlayerWithUlid="")
(Deprecated) Verify player identity for a platform before starting a session.
void(* FLootLockerGooglePlayGamesSessionResponseDelegate)(FLootLockerGooglePlayGamesSessionResponse)
C++ response callback delegate; receives an FLootLockerGooglePlayGamesSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:572
static FString RefreshMetaSession(const FLootLockerMetaSessionResponseDelegate &OncompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Meta / Oculus session.
Definition LootLockerSDKManager.h:451
static FString GetWalletByWalletID(const FString &WalletID, const FLootLockerGetWalletResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get wallet information by wallet id.
ELootLockerWalletHolderTypes
Possible wallet holder types.
Definition LootLockerBalanceRequestHandler.h:24
static FString DebitBalanceToWallet(const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerDebitWalletResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Debit (decrease) a wallet balance.
static FString CreditBalanceToWallet(const FString &WalletID, const FString &CurrencyID, const FString &Amount, const FLootLockerCreditWalletResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Credit (increase) a wallet balance.
static FString ListBalancesInWallet(const FString &WalletID, const FLootLockerListBalancesForWalletResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List balances in a wallet.
static FString GetWalletByHolderID(const FString &HolderULID, const ELootLockerWalletHolderTypes &HolderType, const FLootLockerGetWalletResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get wallet information by holder ULID and type.
void(* FLootLockerGetWalletResponseDelegate)(FLootLockerGetWalletResponse)
C++ response delegate for getting a wallet.
Definition LootLockerBalanceRequestHandler.h:303
void(* FLootLockerListBalancesForWalletResponseDelegate)(FLootLockerListBalancesForWalletResponse)
C++ response delegate for listing balances in a wallet.
Definition LootLockerBalanceRequestHandler.h:299
void(* FLootLockerCreditWalletResponseDelegate)(FLootLockerCreditWalletResponse)
C++ response delegate for crediting currency to a wallet.
Definition LootLockerBalanceRequestHandler.h:307
void(* FLootLockerDebitWalletResponseDelegate)(FLootLockerDebitWalletResponse)
C++ response delegate for debiting currency from a wallet.
Definition LootLockerBalanceRequestHandler.h:311
static FString ListTopBroadcastsLocalized(const TArray< FString > &Languages, const FLootLockerListBroadcastsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List top broadcast messages with localization (default pagination).
static FString ListBroadcasts(const TArray< FString > &Languages, int32 Limit, const FLootLockerListBroadcastsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List broadcast messages chronologically (paginated, localized).
void(* FLootLockerListBroadcastsResponseDelegate)(FLootLockerListBroadcastsResponse)
C++ response callback delegate; receives an FLootLockerListBroadcastsResponse result.
Definition LootLockerBroadcastRequestHandler.h:288
static FString ListTopBroadcasts(const FLootLockerListBroadcastsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List broadcast messages for this game with default localisation and limit.
void(* FLootLockerListCatalogPricesV2ResponseDelegate)(FLootLockerListCatalogPricesV2Response)
C++ response delegate for listing items and prices in a catalog.
Definition LootLockerCatalogRequestHandler.h:941
static FString ListCatalogItems(const FString &CatalogKey, const FLootLockerListCatalogPricesV2ResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List the items available in a specific catalog.
Definition LootLockerSDKManager.h:3141
static FString ListCatalogItems(const FString &CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List the items available in a specific catalog.
static FString ListCatalogItems(const FString &CatalogKey, int Count, const FString &After, const FLootLockerListCatalogPricesResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List catalog items (paginated).
static FString ListCatalogs(const FLootLockerListCatalogsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List game catalogs.
void(* FLootLockerListCatalogPricesResponseDelegate)(FLootLockerListCatalogPricesResponse)
C++ response delegate for listing items and prices in a catalog.
Definition LootLockerCatalogRequestHandler.h:937
void(* FLootLockerListCatalogsResponseDelegate)(FLootLockerListCatalogsResponse)
C++ response delegate for listing catalogs.
Definition LootLockerCatalogRequestHandler.h:933
static FString ListCatalogItems(const FString &CatalogKey, const FLootLockerListCatalogPricesResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List catalog items (all/default page) for a catalog.
Definition LootLockerSDKManager.h:3114
static FString GetCharacterProgressions(const int32 &CharacterId, const int32 &Count, const FLootLockerPaginatedCharacterProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions the character is currently on (first page only).
static FString AddPointsToCharacterProgression(const int32 &CharacterId, const FString &ProgressionKey, const int32 &Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Add points to a character progression and return any threshold rewards granted.
static FString SubtractPointsFromCharacterProgression(const int32 &CharacterId, const FString &ProgressionKey, const int32 &Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Subtract points from a character progression and return any threshold rewards revoked (if applicable)...
static FString DeleteCharacterProgression(const int32 &CharacterId, const FString &ProgressionKey, const FLootLockerDeleteProgressionDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Delete a progression from the character (irreversible).
static FString GetCharacterProgression(const int32 &CharacterId, const FString &ProgressionKey, const FLootLockerCharacterProgressionResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get a single progression for the character by key.
static FString ResetCharacterProgression(const int32 &CharacterId, const FString &ProgressionKey, const FLootLockerCharacterProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Reset a character progression to its initial state (points and level) and return any threshold reward...
static FString GetCharacterProgressions(const int32 &CharacterId, const FLootLockerPaginatedCharacterProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List all progressions the character is currently on (returns server default page size).
static FString GetCharacterProgressions(const int32 &CharacterId, const int32 &Count, const FString &After, const FLootLockerPaginatedCharacterProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions the character is currently on (paginated).
static FString ConnectAppleAccountByRestSignIn(const FString &AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link an Apple account (REST sign-in).
static FString ConnectPlaystationAccount(const FString &Environment, const FString &Code, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link a PlayStation account.
static FString ConnectDiscordAccount(const FString &Token, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link a Discord account.
ELootLockerAccountProvider
Account providers possible to use for connected accounts.
Definition LootLockerConnectedAccountsRequestHandler.h:21
static FString ConnectRemoteSessionAccount(const FString &Code, const FString &Nonce, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link an account via remote session lease.
void(* FLootLockerListConnectedAccountsResponseDelegate)(FLootLockerListConnectedAccountsResponse)
C++ response delegate for listing connected accounts.
Definition LootLockerConnectedAccountsRequestHandler.h:288
static FString ConnectGoogleAccount(const FString &IdToken, EGoogleAccountProviderPlatform Platform, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link a Google account for a specific Google platform.
void(* FLootLockerAccountConnectedResponseDelegate)(FLootLockerAccountConnectedResponse)
C++ response delegate for connecting a provider to an account.
Definition LootLockerConnectedAccountsRequestHandler.h:284
static FString ConnectTwitchAccount(const FString &AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link a Twitch account.
static FString ListConnectedAccounts(const FLootLockerListConnectedAccountsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List connected identity providers (Apple, Google, etc.).
static FString ConnectGoogleAccount(const FString &IdToken, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link a Google account.
EGoogleAccountProviderPlatform
Google OAuth2 Client platform.
Definition LootLockerConnectedAccountsRequestHandler.h:44
static FString ConnectEpicAccount(const FString &Token, const FLootLockerAccountConnectedResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Link an Epic account.
static FString DisconnectAccount(const ELootLockerAccountProvider AccountToDisconnect, const FLootLockerDefaultDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Disconnect a linked identity provider.
static FString TransferIdentityProvidersBetweenAccounts(const FString &FromPlayerWithUlid, const FString &ToPlayerWithUlid, TArray< ELootLockerAccountProvider > ProvidersToTransfer, const FLootLockerListConnectedAccountsResponseDelegate &OnComplete)
Transfer identity providers between two authenticated players.
void(* FLootLockerListDenominationsResponseDelegate)(FLootLockerListDenominationsResponse)
C++ response delegate for listing denominations on a currency.
Definition LootLockerCurrencyRequestHandler.h:177
void(* FLootLockerGetCurrencyDetailsResponseDelegate)(FLootLockerGetCurrencyDetailsResponse)
C++ response delegate for getting details for a single currency.
Definition LootLockerCurrencyRequestHandler.h:173
static FString GetCurrencyDenominationsByCode(const FString &CurrencyCode, const FLootLockerListDenominationsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List available denominations for a currency.
static FString ListCurrencies(const FLootLockerListCurrenciesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List available game currencies.
static FString GetCurrencyDetails(const FString &CurrencyCode, const FLootLockerGetCurrencyDetailsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get currency details.
void(* FLootLockerListCurrenciesResponseDelegate)(FLootLockerListCurrenciesResponse)
C++ response delegate for listing currencies.
Definition LootLockerCurrencyRequestHandler.h:169
static FString ComputeAndLockDropTable(const int TableId, const FLootLockerComputeAndLockDropTableResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Compute and lock a drop table (generates drops for later pickup).
void(* FFLootLockerPickDropsFromDropTableResponseDelegate)(FLootLockerPickDropsFromDropTableResponse)
C++ response callback delegate; receives an FLootLockerPickDropsFromDropTableResponse result.
Definition LootLockerDropTablesRequestHandler.h:75
static FString PickDropsFromDropTable(const TArray< int > Picks, const int TableId, const FFLootLockerPickDropsFromDropTableResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Pick selected drops from a locked drop table.
void(* FLootLockerComputeAndLockDropTableResponseDelegate)(FLootLockerComputeAndLockDropTableResponse)
C++ response callback delegate; receives an FLootLockerComputeAndLockDropTableResponse result.
Definition LootLockerDropTablesRequestHandler.h:73
void(* FLootLockerSingleEntitlementResponseDelegate)(FLootLockerSingleEntitlementResponse)
C++ response callback delegate; receives an FLootLockerSingleEntitlementResponse result.
Definition LootLockerEntitlementRequestHandler.h:298
static FString ListEntitlements(int Count, const FString &After, const FLootLockerListEntitlementsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player's historical entitlements (paginated, all origins: progression, purchases,...
static FString ListEntitlements(const FLootLockerListEntitlementsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player's historical entitlements (default pagination).
Definition LootLockerSDKManager.h:3169
void(* FLootLockerListEntitlementsResponseDelegate)(FLootLockerEntitlementHistoryResponse)
C++ response delegate for listing entitlement history.
Definition LootLockerEntitlementRequestHandler.h:296
static FString GetEntitlement(const FString &EntitlementID, FLootLockerSingleEntitlementResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get entitlement details.
static FString SendPlayerFeedback(const FString &Ulid, const FString &Description, const FString &CategoryID, const FLootLockerSendFeedbackResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Send feedback about a player.
static FString SendLootLockerErrorReport(const FString &UserDescription, const FLootLockerResponse &FailedResponse, const FLootLockerSendErrorReportDelegate &OnComplete)
Send a report about a failed LootLocker request to be viewable in the LootLocker dashboard.
static FString ListGameFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List game feedback categories.
void(* FLootLockerListFeedbackCategoryResponseDelegate)(FLootLockerFeedbackCategoryResponse)
C++ response callback delegate; receives an FLootLockerFeedbackCategoryResponse result.
Definition LootLockerFeedbackRequestHandler.h:112
static FString ListUGCFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List UGC asset feedback categories.
static FString ListPlayerFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player feedback categories (for reporting or positive notes).
static FString SendUGCFeedback(const FString &Ulid, const FString &Description, const FString &CategoryID, const FLootLockerSendFeedbackResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Send feedback about a UGC asset.
void(* FLootLockerSendFeedbackResponseDelegate)(FLootLockerResponse)
C++ response callback delegate; receives an FLootLockerResponse result.
Definition LootLockerFeedbackRequestHandler.h:114
static FString SendGameFeedback(const FString &Description, const FString &CategoryID, const FLootLockerSendFeedbackResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Send feedback about the game.
static FString FollowPlayer(const FString &PlayerPublicId, const FLootLockerFollowActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Follow a player.
static FString ListFollowing(const FString &PlayerPublicId, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List accounts a player is following (by public UID).
static FString ListFollowingPaginated(const FString &PlayerPublicId, const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List accounts a player is following (cursor paginated).
static FString ListFollowersPaginated(const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List followers for the requesting player (cursor paginated).
static FString UnfollowPlayer(const FString &PlayerPublicId, const FLootLockerFollowActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Unfollow a player.
static FString ListFollowingPaginated(const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List accounts the requesting player is following (cursor paginated).
static FString ListFollowersPaginated(const FString &PlayerPublicId, const FString &Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List followers for a player (cursor paginated).
void(* FLootLockerListFollowersResponseDelegate)(FLootLockerListFollowersResponse)
C++ response delegate for listing followers/following.
Definition LootLockerFollowersRequestHandler.h:80
static FString ListFollowing(const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List accounts the requesting player is following.
void(* FLootLockerFollowActionResponseDelegate)(FLootLockerFollowActionResponse)
C++ response delegate for follow/unfollow actions.
Definition LootLockerFollowersRequestHandler.h:85
static FString ListFollowers(const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List followers for the requesting player.
static FString ListFollowers(const FString &PlayerPublicId, const FLootLockerListFollowersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List followers for a player (by public UID).
static FString CancelOutgoingFriendRequest(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Cancel an outgoing friend request.
void(* FLootLockerListBlockedPlayersResponseDelegate)(FLootLockerListBlockedPlayersResponse)
C++ response delegate for listing blocked players.
Definition LootLockerFriendsRequestHandler.h:203
void(* FLootLockerListOutgoingFriendRequestsResponseDelegate)(FLootLockerListOutgoingFriendRequestsResponse)
C++ response delegate for listing outgoing friend requests.
Definition LootLockerFriendsRequestHandler.h:199
static FString ListOutgoingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListOutgoingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List outgoing friend requests (page paginated).
static FString ListIncomingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListIncomingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List incoming friend requests (page paginated).
static FString DeclineIncomingFriendRequest(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Decline an incoming friend request.
static FString ListBlockedPlayersPaginated(int32 Page, int32 PerPage, const FLootLockerListBlockedPlayersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List blocked players (page paginated).
static FString ListFriendsPaginated(int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List friends (page paginated).
static FString ListIncomingFriendRequests(const FLootLockerListIncomingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List incoming friend requests.
static FString SendFriendRequest(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Send a friend request.
void(* FLootLockerListIncomingFriendRequestsResponseDelegate)(FLootLockerListIncomingFriendRequestsResponse)
C++ response delegate for listing incoming friend requests.
Definition LootLockerFriendsRequestHandler.h:197
void(* FLootLockerListFriendsResponseDelegate)(FLootLockerListFriendsResponse)
Definition LootLockerFriendsRequestHandler.h:195
static FString BlockPlayer(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Block a player.
static FString ListOutgoingFriendRequests(const FLootLockerListOutgoingFriendRequestsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List outgoing friend requests.
void(* FLootLockerGetFriendResponseDelegate)(FLootLockerGetFriendResponse)
C++ response delegate for getting a friend.
Definition LootLockerFriendsRequestHandler.h:205
static FString ListFriendsByPlatform(const ELootLockerPlatform Platform, int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List friends by platform for the requesting player.
static FString DeleteFriend(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Delete a friend.
static FString AcceptIncomingFriendRequest(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Accept an incoming friend request.
static FString UnblockPlayer(const FString &PlayerULID, const FLootLockerFriendActionResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Unblock a player.
void(* FLootLockerFriendActionResponseDelegate)(FLootLockerFriendActionResponse)
C++ response delegate for actions taken towards the friends list.
Definition LootLockerFriendsRequestHandler.h:201
static FString ListFriends(const FLootLockerListFriendsResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List friends for the requesting player.
static FString ListBlockedPlayers(const FLootLockerListBlockedPlayersResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
List blocked players.
static FString GetFriend(const FString &FriendUlid, const FLootLockerGetFriendResponseDelegate &OnResponseCompleted, const FString &ForPlayerWithUlid="")
Get a friend by ULID.
static FString GetOtherPlayersHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the loadout for another player's hero.
void(* FLootLockerPlayerHeroDelegate)(FLootLockerPlayerHeroResponse)
C++ response callback delegate; receives an FLootLockerPlayerHeroResponse result.
Definition LootLockerHeroRequestHandler.h:175
static FString ListCharacterTypes(const FPLootLockerListCharacterTypesResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List character types configured for the game.
static FString ListPlayerHeroes(const FLootLockerHeroListDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
List heroes owned by the player.
static FString AddAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip an existing asset instance to a hero.
static FString EquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip an asset instance to the player's default character.
static FString UpdateCharacter(int CharacterId, bool IsDefault, FString &Name, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Update a character's name and/or mark it as the default character.
static FString GetOtherPlayersCharacterLoadouts(const FString &OtherPlayerId, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FString &OtherPlayerPlatform="")
Get character loadouts for another player by platform-specific id.
static FString UnEquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Unequip an asset instance from the player's default character.
static FString ListPlayerCharacters(const FPLootLockerListPlayerCharactersResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List characters owned by the player.
static FString GetGameHeroes(const FLootLockerGameHeroListDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
List game hero templates (names and character info).
static FString DeleteCharacter(int CharacterId, const FLootLockerCharacterDefaultResponse &OnCompletedRequestBP, const FString &ForPlayerWithUlid="")
Delete a character by id (irreversible) and return its equipped items to inventory.
void(* FPLootLockerListCharacterTypesResponse)(FLootLockerListCharacterTypesResponse)
C++ response callback delegate; receives an FLootLockerListCharacterTypesResponse result.
Definition LootLockerCharacterRequestHandler.h:170
static FString GetCharacterLoadout(const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List loadouts for all characters owned by the player including basic character info.
static FString CreateHeroWithVariation(const FLootLockerCreateHeroWithVariationRequest &Request, const FLootLockerPlayerHeroDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
Create a hero with a specific variation and optional default flag.
void(* FLootLockerCharacterDefaultResponse)(FLootLockerResponse)
C++ response callback delegate; receives an FLootLockerResponse result.
Definition LootLockerCharacterRequestHandler.h:168
static FString GetOtherPlayersDefaultHeroBySteamID64(const int64 SteamID64, const FLootLockerPlayerHeroDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
Get the default hero for another player by SteamID64.
static FString AddGlobalAssetToHeroLoadout(const int32 HeroID, const int32 AssetID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip a global asset (default variation) to a hero.
static FString GetOtherPlayersCurrentLoadoutToDefaultCharacter(FString OtherPlayerId, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &OtherPlayerPlatform=FString(TEXT("")), const FString &ForPlayerWithUlid="")
Get the default character loadout for another player identified by a platform-specific id.
void(* FPLootLockerListPlayerCharactersResponse)(FLootLockerListPlayerCharactersResponse)
C++ response callback delegate; receives an FLootLockerListPlayerCharactersResponse result.
Definition LootLockerCharacterRequestHandler.h:172
static FString GetHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the loadout (equipped items) for a hero owned by the player.
static FString UpdateHero(const int32 HeroID, const FLootLockerUpdateHeroRequest &Request, const FLootLockerPlayerHeroDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Update a hero's name and/or mark it as the default hero.
static FString GetHeroInventory(const int32 HeroID, const FInventoryResponse &OnCompleteRequest, const FString &ForPlayerWithUlid="")
List asset instances owned by the specified hero (first page only; endpoint is paginated).
static FString EquipAssetToCharacterById(int CharacterId, int AssetId, int AssetVariationId, const FLootLockerCharacterDefaultResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip an asset (by asset id and variation) to a specific character.
static FString EquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip an asset instance to a specific character.
static FString GetEquipableContextsToDefaultCharacter(const FContextDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List equipable contexts (slots/categories) for the player's default character.
static FString CreateHero(const FLootLockerCreateHeroRequest &Request, const FLootLockerPlayerHeroDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
Create a hero from a game hero template.
void(* FLootLockerHeroListDelegate)(FLootLockerHeroListResponse)
C++ response callback delegate; receives an FLootLockerHeroListResponse result.
Definition LootLockerHeroRequestHandler.h:173
void(* FLootLockerGameHeroListDelegate)(FLootLockerGameHeroListResponse)
C++ response callback delegate; receives an FLootLockerGameHeroListResponse result.
Definition LootLockerHeroRequestHandler.h:171
static FString UnEquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Unequip an asset instance from a specific character.
static FString GetCurrentLoadoutToDefaultCharacter(const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the asset instances currently equipped on the player's default character.
static FString GetHero(const int32 HeroID, const FLootLockerPlayerHeroDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get information about a specific hero owned by the player.
static FString GetEquipableContextsByCharacterId(int OtherCharacterId, const FContextDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List equipable contexts for another player's character by character id.
static FString DeleteHero(const int32 HeroID, const FLLHeroDefaultResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Delete a hero (irreversible; hero inventory is returned to player inventory and loadout reset).
void(* FHeroLoadoutReseponseDelegate)(FLootLockerHeroLoadoutResponse)
C++ response callback delegate; receives an FLootLockerHeroLoadoutResponse result.
Definition LootLockerHeroRequestHandler.h:179
static FString CreateCharacter(bool IsDefault, const FString &CharacterName, const FString &CharacterTypeId, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create a character of a specified type and name (optionally set as default).
static FString AddGlobalAssetVariationToHeroLoadout(const int32 HeroID, const int32 AssetID, const int32 AssetVariationID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Equip a specific global asset variation to a hero.
static FString ListOtherPlayersHeroesBySteamID64(const int64 SteamID64, const FLootLockerHeroListDelegate &OnCompleteRequest, const FString &ForPlayerWithUlid="")
List heroes owned by another player identified by SteamID64.
static FString GetOtherPlayersCharacterLoadoutsByUid(const FString &OtherPlayerUid, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get character loadouts for another player by public UID.
static FString RemoveAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Unequip an asset instance from a hero.
void(* FCharacterLoadoutResponse)(FLootLockerCharacterLoadoutResponse)
C++ response callback delegate; receives an FLootLockerCharacterLoadoutResponse result.
Definition LootLockerCharacterRequestHandler.h:166
static FString CreateCharacter(bool IsDefault, const FString &CharacterName, const int &CharacterTypeId, const FCharacterLoadoutResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create a character of a specified type and name (optionally set as default).
void(* FLLHeroDefaultResponseDelegate)(FLootLockerResponse)
C++ response callback delegate; receives an FLootLockerResponse result.
Definition LootLockerHeroRequestHandler.h:177
void(* FLootLockerGetByListOfMembersResponseDelegate)(FLootLockerGetByListOfMembersResponse)
C++ response callback delegate; receives an FLootLockerGetByListOfMembersResponse result.
Definition LootLockerLeaderboardRequestHandler.h:605
static FString GetScoreListInitial(FString LeaderboardKey, int Count, const FLootLockerGetScoreListResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List ranked members starting from top (initial page).
void(* FLootLockerGetMemberRankResponseDelegate)(FLootLockerGetMemberRankResponse)
C++ response callback delegate; receives an FLootLockerGetMemberRankResponse result.
Definition LootLockerLeaderboardRequestHandler.h:603
void(* FLootLockerLeaderboardArchiveDetailResponseDelegate)(FLootLockerLeaderboardArchiveDetailsResponse)
C++ response callback delegate; receives an FLootLockerLeaderboardArchiveDetailsResponse result.
Definition LootLockerLeaderboardArchiveRequestHandler.h:92
static FString IncrementScore(FString MemberId, const FString LeaderboardKey, const int Amount, const FLootLockerSubmitScoreResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Increment an existing score by an amount (positive or negative).
static FString SubmitScore(FString MemberId, const FString LeaderboardKey, const int Score, FString Metadata, const FLootLockerSubmitScoreResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Submit a score for a member.
void(* FLootLockerListLeaderboardsResponseDelegate)(FLootLockerListLeaderboardsResponse)
C++ response callback delegate; receives an FLootLockerListLeaderboardsResponse result.
Definition LootLockerLeaderboardRequestHandler.h:601
void(* FLootLockerSubmitScoreResponseDelegate)(FLootLockerSubmitScoreResponse)
C++ response callback delegate; receives an FLootLockerSubmitScoreResponse result.
Definition LootLockerLeaderboardRequestHandler.h:609
static FString ListLeaderboards(int Count, int After, const FLootLockerListLeaderboardsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List leaderboards (paginated) with details.
static FString GetAllMemberRanks(FString MemberId, const int Count, const int After, const FLootLockerGetAllMemberRanksResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List all leaderboards with this member's rank/score (and player info for player leaderboards).
static FString GetLeaderboardDetails(const FString &LeaderboardKey, const FLootLockerLeaderboardDetailsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get leaderboard details (schedule, rewards, reward details).
static FString GetScoreList(FString LeaderboardKey, int Count, int After, const FLootLockerGetScoreListResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List ranked members (paginated).
static FString GetLeaderboardArchive(const FString &Key, const FLootLockerLeaderboardArchiveDetailResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a leaderboard archive (all entries).
Definition LootLockerSDKManager.h:2935
void(* FLootLockerGetScoreListResponseDelegate)(FLootLockerGetScoreListResponse)
C++ response callback delegate; receives an FLootLockerGetScoreListResponse result.
Definition LootLockerLeaderboardRequestHandler.h:607
static FString QueryScore(const FString LeaderboardKey, const int Score, const FLootLockerSubmitScoreResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Query the projected rank for a hypothetical score (does not submit).
static FString GetByListOfMembers(TArray< FString > Members, FString LeaderboardKey, const FLootLockerGetByListOfMembersResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get ranks for multiple members.
static FString GetLeaderboardArchive(const FString &Key, int Count, const FString &After, const FLootLockerLeaderboardArchiveDetailResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a leaderboard archive (paginated entries with ranks, scores, rewards).
static FString ListLeaderboards(const FLootLockerListLeaderboardsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List leaderboards with their details.
Definition LootLockerSDKManager.h:2797
static FString GetMemberRank(FString LeaderboardKey, FString MemberId, const FLootLockerGetMemberRankResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get rank for a single member.
static FString ListLeaderboardArchive(const FString &LeaderboardKey, const FLootLockerLeaderboardArchiveResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List archived versions of a leaderboard.
void(* FLootLockerLeaderboardDetailsResponseDelegate)(FLootLockerLeaderboardDetailsResponse)
C++ response callback delegate; receives an FLootLockerLeaderboardDetailsResponse result.
Definition LootLockerLeaderboardRequestHandler.h:613
void(* FLootLockerLeaderboardArchiveResponseDelegate)(FLootLockerLeaderboardArchiveResponse)
C++ response callback delegate; receives an FLootLockerLeaderboardArchiveResponse result.
Definition LootLockerLeaderboardArchiveRequestHandler.h:90
void(* FLootLockerGetAllMemberRanksResponseDelegate)(FLootLockerGetAllMemberRanksResponse)
C++ response callback delegate; receives an FLootLockerGetAllMemberRanksResponse result.
Definition LootLockerLeaderboardRequestHandler.h:611
static FString GetMaps(const FGetMapsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List maps configured for the game.
void(* FGetMapsResponseDelegate)(FLootLockerGetMapsResponse)
C++ response callback delegate; receives an FLootLockerGetMapsResponse result.
Definition LootLockerMapsRequestHandler.h:59
void(* FMessagesResponseDelegate)(FLootLockerMessagesResponse)
C++ response callback delegate; receives an FLootLockerMessagesResponse result.
Definition LootLockerMessagesRequestHandler.h:46
static FString GetMessages(const FMessagesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List all messages for the player.
static FString GetMultisourceMetadata(const TArray< FLootLockerMetadataSourceAndKeys > &SourcesAndKeysToGet, const FLootLockerGetMultisourceMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
Get metadata for multiple sources/keys.
static FString ListMetadata(const ELootLockerMetadataSources Source, const FString &SourceID, const FLootLockerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
List metadata (default pagination) for a source.
static FLootLockerMetadataEntry MakeMetadataEntryWithUStructValue(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const T &Value)
Factory method that makes an FLootLockerMetadataEntry with a UStruct Value.
Definition LootLockerSDKManager.h:3391
static FString ListMetadataWithTags(const ELootLockerMetadataSources Source, const FString &SourceID, const TArray< FString > &Tags, const int Page, const int PerPage, const FLootLockerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
List metadata with tags (paginated).
void(* FLootLockerGetMultisourceMetadataResponseDelegate)(FLootLockerGetMultisourceMetadataResponse)
Blueprint response delegate for getting multi source metadata.
Definition LootLockerMetadataRequestHandler.h:495
ELootLockerMetadataSources
Possible metadata sources.
Definition LootLockerMetadataRequestHandler.h:23
static FString SetMetadata(const ELootLockerMetadataSources Source, const FString &SourceID, const TArray< FLootLockerSetMetadataAction > &MetadataToActionsToPerform, const FLootLockerSetMetadataResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Set metadata for a source.
static FString GetMetadata(const ELootLockerMetadataSources Source, const FString &SourceID, const FString &Key, const FLootLockerGetMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
Get metadata by key.
void(* FLootLockerSetMetadataResponseDelegate)(FLootLockerSetMetadataResponse)
Blueprint response delegate for setting metadata.
Definition LootLockerMetadataRequestHandler.h:499
static bool TryGetMetadataValueAsUStruct(const FLootLockerMetadataEntry &Entry, T &Output)
Get the value as a UStruct of your choice.
Definition LootLockerSDKManager.h:3371
void(* FLootLockerListMetadataResponseDelegate)(FLootLockerListMetadataResponse)
C++ response delegate for listing metadata.
Definition LootLockerMetadataRequestHandler.h:487
void(* FLootLockerGetMetadataResponseDelegate)(FLootLockerGetMetadataResponse)
C++ response delegate for getting a single metadata entry.
Definition LootLockerMetadataRequestHandler.h:491
static FString ListMetadataWithTags(const ELootLockerMetadataSources Source, const FString &SourceID, const TArray< FString > &Tags, const FLootLockerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
List metadata with tags (default pagination).
static FString ListMetadata(const ELootLockerMetadataSources Source, const FString &SourceID, const int Page, const int PerPage, const FLootLockerListMetadataResponseDelegate &OnComplete, const bool IgnoreFiles=false, const FString &ForPlayerWithUlid="")
List metadata (paginated) for a source.
static FString GetGameInfo(const FGameInfoResponseDelegate &OnComplete)
Get game meta information.
void(* FTimeResponseDelegate)(FLootLockerTimeResponse)
C++ response delegate for fetching server time.
Definition LootLockerMiscellaneousRequestHandler.h:82
static FString GetLastActivePlatform(const FString &ForPlayerWithUlid="")
Get the last active platform from a previous session.
static FString GetServerTime(const FTimeResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get current server time (ping).
void(* FGameInfoResponseDelegate)(FLootLockerGameInfoResponse)
C++ response delegate for fetching game info.
Definition LootLockerMiscellaneousRequestHandler.h:86
static bool SetDefaultPlayer(const FString &PlayerUlid)
Set the default player state used when no player is specified.
static void SetAllPlayersToInactive()
Mark all currently active players as inactive.
static FLootLockerPlayerData GetSavedStateOrDefaultOrEmptyForPlayer(const FString &PlayerUlid)
Get saved state for a player ULID (or default if none supplied; empty if neither exist)
static TArray< FString > GetActivePlayerUlids()
Get active player ULIDs since game start (or state initialization)
static void SetAllPlayersToInactiveExceptForPlayer(const FString &PlayerUlid)
Mark all players inactive except the specified player.
static void ClearAllPlayerCaches()
Clear cached state for all players (forces re-authentication)
static FString GetDefaultPlayerUlid()
Get the default player ULID used when no player is specified.
static TArray< FString > GetCachedPlayerUlids()
Get ULIDs that have a cached state.
static void ClearCacheForPlayer(const FString &PlayerUlid)
Clear cached state for the specified player (forces re-authentication)
static void SetPlayerUlidToInactive(const FString &PlayerUlid)
Mark a player's state as inactive.
static void ClearAllPlayerCachesExceptForPlayer(const FString &PlayerUlid)
Clear cached state for all players except the specified one.
static FString MarkNotificationsAsRead(const TArray< FLootLockerNotification > &Notifications, const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Mark specified notifications as read.
static FString ListNotifications(bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List notifications with filters (paginated).
static FString MarkAllNotificationsAsRead(const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Mark all unread notifications as read.
static FString ListNotificationsWithDefaultParameters(const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List notifications (default pagination, no filters).
ELootLockerCustomNotificationFiltering
Enum for custom notification filtering.
Definition LootLockerNotificationsRequestHandler.h:100
static FString MarkNotificationsAsReadByIds(const TArray< FString > &NotificationIDs, const FLootLockerReadNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Mark specified notifications as read by id.
static FString ListNotificationsWithPriority(ELootLockerNotificationPriority WithPriority, bool ShowRead, const FString &OfType, const FString &WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List notifications filtered by priority (paginated, other filters available).
void(* FLootLockerListNotificationsResponseDelegate)(FLootLockerListNotificationsResponse)
C++ response delegate for handling List Notifications Responses.
Definition LootLockerNotificationsRequestHandler.h:1015
static bool TryGetNotificationContentBodyAsUStruct(const FLootLockerNotificationContent &Content, T &Output)
Get the content body as a UStruct of your choice.
Definition LootLockerSDKManager.h:2687
ELootLockerNotificationPriority
Enum of the different available priorities for notifications.
Definition LootLockerNotificationsRequestHandler.h:23
void(* FLootLockerReadNotificationsResponseDelegate)(FLootLockerReadNotificationsResponse)
C++ response delegate for handling read notifications response.
Definition LootLockerNotificationsRequestHandler.h:1019
static FString GetSingleFile(const int32 FileID, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Retrieve metadata (including access URL) for a single file.
void(* FLootLockerUploadFileDelegate)(FLootLockerPlayerFileResponse)
C++ response callback delegate; receives an FLootLockerPlayerFileResponse result.
Definition LootLockerPlayerFilesRequestHandler.h:94
static FString ListFiles(const FLootLockerFileListDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List all files owned by the player.
void(* FLootLockerFileListDelegate)(FLootLockerFileListResponse)
C++ response callback delegate; receives an FLootLockerFileListResponse result.
Definition LootLockerPlayerFilesRequestHandler.h:97
static FString ListOtherPlayersPublicFiles(const int32 PlayerID, const FLootLockerFileListDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List all public files owned by another player (by legacy PlayerID).
static FString UpdateFile(const int32 FileId, const FLootLockerFileUpdateRequest &Request, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Update an existing player-owned file with new content or metadata.
void(* FLootLockerFileDeletedDelegate)(FLootLockerResponse)
C++ response callback delegate; receives an FLootLockerResponse result.
Definition LootLockerPlayerFilesRequestHandler.h:100
static FString DeletePlayerFile(const int32 FileID, const FLootLockerFileDeletedDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Permanently delete a player-owned file (irreversible).
static FString UploadFile(const FLootLockerFileUploadRequest &Request, const FLootLockerUploadFileDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Upload a file owned by the player (initial creation).
static FString GetPlayerProgression(const FString &ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get a single progression state for the player.
static FString ResetPlayerProgression(const FString &ProgressionKey, const FLootLockerPlayerProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Reset a player progression to its initial state.
static FString SubtractPointsFromPlayerProgression(const FString &ProgressionKey, const int32 &Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Subtract points from a player progression.
static FString DeletePlayerProgression(const FString &ProgressionKey, const FLootLockerDeleteProgressionDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Delete a player progression (removes progress data for that progression).
static FString GetPlayerProgressions(const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player progressions (using server default pagination settings).
static FString AddPointsToPlayerProgression(const FString &ProgressionKey, const int32 &Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Add points to a player progression (may trigger rewards if thresholds are crossed).
static FString GetPlayerProgressions(const int32 &Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player progressions (first page only, limited by Count).
static FString GetOtherPlayersProgressions(const FString &PlayerUlid, const int32 &Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions for another specified player (first page only, limited by Count).
static FString GetOtherPlayersProgression(const FString &PlayerUlid, const FString &ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get a single progression state for another specified player.
static FString GetPlayerProgressions(const int32 &Count, const FString &After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List player progressions (paginated).
static FString GetOtherPlayersProgressions(const FString &PlayerUlid, const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions for another specified player (server default pagination).
static FString GetOtherPlayersProgressions(const FString &PlayerUlid, const int32 &Count, const FString &After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions for another specified player (paginated).
static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItem Item, const FPersistentStorageItemResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create or update a single key/value pair in persistent storage.
static FString DeleteItemFromPersistentStorage(const FString &Key, const FPersistentStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Delete a key/value pair from persistent storage.
void(* FPersistentStorageItemResponseDelegate)(FLootLockerPersistentStorageItemResponse)
C++ response callback delegate; receives an FLootLockerPersistentStorageItemResponse result.
Definition LootLockerPersistentStorageRequestHandler.h:55
static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItems Items, const FPersistentStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create or update multiple key/value pairs in persistent storage.
static FString GetPlayerPersistentStorage(const FString &PlayerId, const FPersistentStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Read another player's public persistent storage key/value pairs.
static FString GetItemFromPersistentStorage(const FString &Key, const FPersistentStorageItemResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a single key/value pair from the player's persistent storage.
void(* FPersistentStorageItemsResponseDelegate)(FLootLockerPersistentStorageItemsResponse)
C++ response callback delegate; receives an FLootLockerPersistentStorageItemsResponse result.
Definition LootLockerPersistentStorageRequestHandler.h:53
static FString GetEntirePersistentStorage(const FPersistentStorageItemsResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List all key/value pairs in the player's persistent storage (may return a large payload).
static FString ListPlayerInfo(TArray< FString > PlayerIdsToLookUp, TArray< int > PlayerLegacyIdsToLookUp, TArray< FString > PlayerPublicUidsToLookUp, const FLootLockerListPlayerInfoResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List profile information for multiple players.
void(* FPMultiplePlayersPlatformIdsNames)(FLootLockerMultiplePlayersPlatformIdsResponse)
C++ response callback delegate; receives an FLootLockerMultiplePlayersPlatformIdsResponse result.
Definition LootLockerPlayerRequestHandler.h:551
void(* FLootLockerGetCurrentPlayerInfoResponseDelegate)(FLootLockerGetCurrentPlayerInfoResponse)
C++ response callback delegate; receives an FLootLockerGetCurrentPlayerInfoResponse result.
Definition LootLockerPlayerRequestHandler.h:527
static FString LookupMultiplePlayerNamesUsingIDs(const FLootLockerMultiplePlayerNamesRequest &Request, const FPMultiplePlayerNames &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Look up multiple player names on their last active platform (Deprecated – use LookupMultiplePlayersDa...
static FString GetPlayerName(const FPNameResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the player's current display name.
static FString GetFullInventory(const FInventoryResponse &OnCompletedRequest, int32 StartIndex, const FString &ForPlayerWithUlid="")
Get a paginated segment of the player's inventory starting after a given asset instance id.
void(* FLootLockerAssetNotificationResponse)(FLootLockerPlayerAssetNotificationResponse)
C++ response callback delegate; receives an FLootLockerPlayerAssetNotificationResponse result.
Definition LootLockerPlayerRequestHandler.h:536
void(* FInventoryResponse)(FLootLockerInventoryResponse)
C++ response callback delegate; receives an FLootLockerInventoryResponse result.
Definition LootLockerPlayerRequestHandler.h:533
static FString SetPlayerName(FString Name, const FPNameResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Set (or change) the player's display name.
static FString InitiateDLCMigration(const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Initiate a DLC migration for the current player.
void(* FPMultiplePlayerNames)(FLootLockerMultiplePlayersNamesResponse)
C++ response callback delegate; receives an FLootLockerMultiplePlayersNamesResponse result.
Definition LootLockerPlayerRequestHandler.h:548
void(* FPBalanceResponse)(FLootLockerBalanceResponse)
C++ response callback delegate; receives an FLootLockerBalanceResponse result.
Definition LootLockerPlayerRequestHandler.h:539
static FString SetProfilePublic(const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Set the player's profile visibility to public (inventory may be displayed on external platforms).
static FString GetCurrentPlayerInfo(const FLootLockerGetCurrentPlayerInfoResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get current player profile information (ids, name and identifiers) for subsequent requests.
void(* FPDlcResponse)(FLootLockerDlcResponse)
C++ response callback delegate; receives an FLootLockerDlcResponse result.
Definition LootLockerPlayerRequestHandler.h:542
void(* FLootLockerListPlayerInfoResponseDelegate)(FLootLockerListPlayerInfoResponse)
C++ response callback delegate; receives an FLootLockerListPlayerInfoResponse result.
Definition LootLockerPlayerRequestHandler.h:530
static FString CheckPlayerAssetActivationNotification(const FLootLockerAssetNotificationResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get assets granted to the player since the last activation notification check.
static FString GetCurrencyBalance(const FPBalanceResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the player's current credit / currency balance.
static FString ListCharacterInventoryWithDefaultParameters(int CharacterId, const FLootLockerSimpleInventoryResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a simplified list of the character's inventory with default parameters.
static FString GetInventory(const FInventoryResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get all inventory asset instances owned by the player.
static FString GetDLCsMigration(const FPDlcResponse &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List DLC identifiers migrated for the player (always returned as strings regardless of numeric value)...
void(* FLootLockerSimpleInventoryResponseDelegate)(FLootLockerSimpleInventoryResponse)
C++ response callback delegate; receives an FLootLockerSimpleInventoryResponse result.
Definition LootLockerPlayerRequestHandler.h:554
static FString LookupMultiplePlayersDataUsingIDs(const FLootLockerLookupMultiplePlayersDataRequest &Request, const FPMultiplePlayerNames &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Look up multiple players' data using various identifier types.
static FString SetProfilePrivate(const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Set the player's profile visibility to private (inventory not publicly visible on external platforms)...
static FString ListCharacterInventory(int CharacterId, const FLootLockerListSimplifiedInventoryRequest &Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a simplified list of a character's inventory.
static FString LookupMultiplePlayerNames1stPlatformIDs(const FLootLockerMultiplePlayerNamesAndPlatformsRequest &Request, const FPMultiplePlayersPlatformIdsNames &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Look up player names using first-platform player ids and/or public UIDs.
static FString ListPlayerInventory(const FLootLockerListSimplifiedInventoryRequest &Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a simplified list of the player's inventory.
static FString DeletePlayer(const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Mark the player for deletion (permanently removed after a 30 day grace period).
void(* FPNameResponse)(FLootLockerNameResponse)
C++ response callback delegate; receives an FLootLockerNameResponse result.
Definition LootLockerPlayerRequestHandler.h:545
static FString ListPlayerInventoryWithDefaultParameters(const FLootLockerSimpleInventoryResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a simplified list of the player's inventory with default parameters.
static void ForceStartPresenceConnection(const FLootLockerPresenceCallbackDelegate &OnComplete, const FString &ForPlayerWithUlid=TEXT(""))
Force start the Presence WebSocket connection manually.
static FLootLockerPresenceConnectionStats GetPresenceConnectionStats(const FString &ForPlayerWithUlid=TEXT(""))
Get statistics about the Presence connection for a specific player.
static bool IsPresenceAutoConnectEnabled()
Check if automatic presence connections are enabled.
static void SetPresenceAutoConnectEnabled(bool bEnabled)
Enable or disable automatic presence connection when sessions start.
static void SetPresenceEnabled(bool bEnabled)
Enable or disable the entire Presence system.
static ELootLockerPresenceConnectionState GetPresenceConnectionState(const FString &ForPlayerWithUlid=TEXT(""))
Get the current Presence connection state for a specific player.
static void SetPresenceAutoDisconnectOnFocusChangeEnabled(bool bEnabled)
Enable or disable automatic presence disconnection when the application loses focus or is paused.
static void ForceStopAllPresenceConnections()
Force stop all Presence WebSocket connections manually.
void(* FLootLockerPresenceCallbackDelegate)(bool, const FString &)
Delegate for handling presence connection process callbacks.
Definition LootLockerPresenceManager.h:27
static void UpdatePresenceStatus(const FString &Status, const TMap< FString, FString > &Metadata, const FLootLockerPresenceCallbackDelegate &OnComplete, const FString &ForPlayerWithUlid=TEXT(""))
Update the player's presence status.
static bool IsPresenceEnabled()
Check if presence system is currently enabled.
static TArray< FString > ListPresenceConnections()
Get a list of player ULIDs that currently have active Presence connections.
static bool IsPresenceConnected(const FString &ForPlayerWithUlid=TEXT(""))
Check if Presence is connected and authenticated for a specific player.
static bool IsPresenceAutoDisconnectOnFocusChangeEnabled()
Check if automatic presence disconnection on focus change is enabled.
static FString GetCurrentPresenceStatus(const FString &ForPlayerWithUlid=TEXT(""))
Get the last status that was sent for a specific player.
static void ForceStopPresenceConnection(const FLootLockerPresenceCallbackDelegate &OnComplete, const FString &ForPlayerWithUlid=TEXT(""))
Force stop the Presence WebSocket connection manually.
void(* FLootLockerPlayerProgressionWithRewardsResponseDelegate)(FLootLockerPlayerProgressionWithRewardsResponse)
C++ response callback delegate; receives an FLootLockerPlayerProgressionWithRewardsResponse result.
Definition LootLockerProgressionsRequestHandler.h:315
static FString GetProgression(const FString &ProgressionKey, const FLootLockerProgressionResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Get a single progression by key.
void(* FLootLockerProgressionResponseDelegate)(FLootLockerProgressionResponse)
C++ response callback delegate; receives an FLootLockerProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:307
void(* FLootLockerPaginatedPlayerProgressionsResponseDelegate)(FLootLockerPaginatedPlayerProgressionResponse)
C++ response callback delegate; receives an FLootLockerPaginatedPlayerProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:313
static FString GetProgressionTiers(const FString &ProgressionKey, const int32 &Count, const int32 &After, const FLootLockerPaginatedProgressionTiersResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progression tiers (paginated) for a progression.
static FString GetProgressionTiers(const FString &ProgressionKey, const FLootLockerPaginatedProgressionTiersResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progression tiers (default page size, first page) for a progression.
void(* FLootLockerPaginatedProgressionsResponseDelegate)(FLootLockerPaginatedProgressionsResponse)
C++ response callback delegate; receives an FLootLockerPaginatedProgressionsResponse result.
Definition LootLockerProgressionsRequestHandler.h:309
void(* FLootLockerCharacterProgressionWithRewardsResponseDelegate)(FLootLockerCharacterProgressionWithRewardsResponse)
C++ response callback delegate; receives an FLootLockerCharacterProgressionWithRewardsResponse result...
Definition LootLockerProgressionsRequestHandler.h:321
void(* FLootLockerPlayerProgressionResponseDelegate)(FLootLockerPlayerProgressionResponse)
C++ response callback delegate; receives an FLootLockerPlayerProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:311
void(* FLootLockerInstanceProgressionResponseDelegate)(FLootLockerInstanceProgressionResponse)
C++ response callback delegate; receives an FLootLockerInstanceProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:327
void(* FLootLockerPaginatedInstanceProgressionsResponseDelegate)(FLootLockerPaginatedInstanceProgressionResponse)
C++ response callback delegate; receives an FLootLockerPaginatedInstanceProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:329
void(* FLootLockerPaginatedProgressionTiersResponseDelegate)(FLootLockerPaginatedProgressionTiersResponse)
C++ response callback delegate; receives an FLootLockerPaginatedProgressionTiersResponse result.
Definition LootLockerProgressionsRequestHandler.h:323
static FString GetProgressions(const FLootLockerPaginatedProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions (default page size, first page).
void(* FLootLockerCharacterProgressionResponseDelegate)(FLootLockerCharacterProgressionResponse)
C++ response callback delegate; receives an FLootLockerCharacterProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:317
void(* FLootLockerInstanceProgressionWithRewardsResponseDelegate)(FLootLockerInstanceProgressionWithRewardsResponse)
C++ response callback delegate; receives an FLootLockerInstanceProgressionWithRewardsResponse result.
Definition LootLockerProgressionsRequestHandler.h:331
static FString GetProgressionTiers(const FString &ProgressionKey, const int32 &Count, const FLootLockerPaginatedProgressionTiersResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progression tiers (first page only) for a progression.
void(* FLootLockerDeleteProgressionDelegate)(FLootLockerResponse)
C++ response callback delegate; receives an FLootLockerResponse result.
Definition LootLockerProgressionsRequestHandler.h:325
void(* FLootLockerPaginatedCharacterProgressionsResponseDelegate)(FLootLockerPaginatedCharacterProgressionResponse)
C++ response callback delegate; receives an FLootLockerPaginatedCharacterProgressionResponse result.
Definition LootLockerProgressionsRequestHandler.h:319
static FString GetProgressions(const int32 &Count, const FString &After, const FLootLockerPaginatedProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions (paginated).
static FString GetProgressions(const int32 &Count, const FLootLockerPaginatedProgressionsResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List progressions (first page only).
static FString BeginSteamPurchaseRedemptionForClass(const int ClassId, const FString &SteamId, const FString &Currency, const FString &Language, const FString &CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Begin a Steam purchase (class) to later finalize and redeem to that class.
static FString StartAsyncPurchasePolling(const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseStatusDelegate &OnStatusUpdate, const FLootLockerAsyncPurchaseStatusDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeoutAfterMinutes=5.0f, const FString &ForPlayerWithUlid="")
Initiate an async purchase and automatically poll for its result.
static FString QuerySteamPurchaseRedemptionStatus(const FString &EntitlementId, const FLootLockerQuerySteamPurchaseRedemptionStatusDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Query Steam purchase status for an entitlement (poll until Approved before finalizing).
void(* FLootLockerRefundByEntitlementIdsDelegate)(FLootLockerRefundByEntitlementIdsResponse)
C++ response callback delegate; receives an FLootLockerRefundByEntitlementIdsResponse result.
Definition LootLockerPurchasesRequestHandler.h:534
static FString ActivateRentalAsset(int AssetInstanceId, const FActivateRentalAssetResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Activate a purchased rental asset so it becomes available to the player.
static FString InitiateAsyncPurchaseCatalogItems(const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseInitiatedDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Initiate an async purchase of one or more catalog items using a specified wallet.
static void CancelAsyncPurchasePolling(const FString &ProcessID)
Cancel an ongoing async purchase polling process.
static FString CreateStripeCheckoutSession(const FString &CatalogItemId, const FLootLockerCreateStripeCheckoutSessionDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create a Stripe Checkout session for a catalog item.
void(* FLootLockerCreateStripeCheckoutSessionDelegate)(FLootLockerCreateStripeCheckoutSessionResponse)
C++ response callback delegate; receives an FLootLockerCreateStripeCheckoutSessionResponse result.
Definition LootLockerPurchasesRequestHandler.h:570
static FString LootLockerPurchaseCatalogItems(const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > ItemsToPurchase, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Purchase multiple catalog items (with quantities) using a wallet.
static FString RedeemGooglePlayStorePurchaseForPlayer(const FString &ProductId, const FString &PurchaseToken, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem a Google Play Store purchase for the player.
static FString RedeemEpicStorePurchase(const FString &AccountId, const FString &BearerToken, const TArray< FString > &EntitlementIds, const FString &SandboxId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem Epic Games Store entitlements for the player.
static FString GetAsyncPurchaseStatus(const FString &EntitlementId, const FLootLockerAsyncPurchaseStatusDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get the current status of an async purchase.
static FString RedeemGooglePlayStorePurchaseForClass(const int ClassId, const FString &ProductId, const FString &PurchaseToken, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem a Google Play Store purchase for a class.
static FString RedeemEpicStorePurchaseForCharacter(const FString &CharacterId, const FString &AccountId, const FString &BearerToken, const TArray< FString > &EntitlementIds, const FString &SandboxId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem Epic Games Store entitlements for a character.
void(* FLootLockerQuerySteamPurchaseRedemptionStatusDelegate)(FLootLockerQuerySteamPurchaseRedemptionStatusResponse)
C++ response callback delegate; receives an FLootLockerQuerySteamPurchaseRedemptionStatusResponse res...
Definition LootLockerPurchasesRequestHandler.h:532
void(* FLootLockerAsyncPurchaseStatusDelegate)(FLootLockerAsyncPurchaseStatusResponse)
C++ response callback delegate; receives an FLootLockerAsyncPurchaseStatusResponse result.
Definition LootLockerPurchasesRequestHandler.h:508
void(* FLootLockerAsyncPurchaseInitiatedDelegate)(FLootLockerAsyncPurchaseInitiatedResponse)
C++ response callback delegate; receives an FLootLockerAsyncPurchaseInitiatedResponse result.
Definition LootLockerPurchasesRequestHandler.h:506
static FString RefundByEntitlementIds(const TArray< FString > &EntitlementIds, const FLootLockerRefundByEntitlementIdsDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Refund one or more entitlements by their IDs.
static FString LootLockerPurchaseSingleCatalogItem(const FString &WalletId, const FString &CatalogItemListingId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Purchase a single catalog item using a wallet.
static FString BeginSteamPurchaseRedemption(const FString &SteamId, const FString &Currency, const FString &Language, const FString &CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Begin a Steam purchase (player) that can later be finalized and redeemed.
static FString FinalizeSteamPurchaseRedemption(const FString &EntitlementId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Finalize an Approved Steam purchase and redeem associated catalog items.
static FString RedeemAppleAppStorePurchaseForClass(const int ClassId, const FString &TransactionId, const FLootLockerDefaultDelegate &OnCompletedRequest, bool Sandboxed=false, const FString &ForPlayerWithUlid="")
Redeem an Apple App Store transaction for a class.
static FString RetryAsyncPurchase(const FString &EntitlementId, const FString &WalletId, const TArray< FLootLockerCatalogItemAndQuantityPair > &Items, const FLootLockerAsyncPurchaseInitiatedDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Retry a failed async purchase.
void(* FLootLockerBeginSteamPurchaseRedemptionDelegate)(FLootLockerBeginSteamPurchaseRedemptionResponse)
C++ response callback delegate; receives an FLootLockerBeginSteamPurchaseRedemptionResponse result.
Definition LootLockerPurchasesRequestHandler.h:530
static FString RedeemAppleAppStorePurchaseForPlayer(const FString &TransactionId, const FLootLockerDefaultDelegate &OnCompletedRequest, bool Sandboxed=false, const FString &ForPlayerWithUlid="")
Redeem an Apple App Store transaction for the player.
void(* FActivateRentalAssetResponseDelegate)(FLootLockerActivateRentalAssetResponse)
C++ response callback delegate; receives an FLootLockerActivateRentalAssetResponse result.
Definition LootLockerPurchasesRequestHandler.h:528
void(* FLootLockerRefreshRemoteSessionResponseDelegate)(FLootLockerRefreshRemoteSessionResponse)
C++ response delegate for receiving the refreshed remote session.
Definition LootLockerRemoteSessionRequestHandler.h:361
static FString StartRemoteSession(const FLootLockerLeaseRemoteSessionResponseDelegate &RemoteSessionLeaseInformation, const FLootLockerRemoteSessionStatusPollingResponseDelegate &RemoteSessionLeaseStatusUpdate, const FLootLockerStartRemoteSessionResponseDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeOutAfterMinutes=5.0f, ELootLockerAccountProvider Provider=ELootLockerAccountProvider::Guest)
Start a remote session lease process.
static FString RefreshRemoteSession(const FLootLockerRefreshRemoteSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Refresh a remotely started session.
Definition LootLockerSDKManager.h:728
static FString RefreshRemoteSession(const FString &RefreshToken, const FLootLockerRefreshRemoteSessionResponseDelegate &OnCompletedRequest)
Refresh a remotely started session with explicit refresh token.
void(* FLootLockerStartRemoteSessionResponseDelegate)(FLootLockerStartRemoteSessionResponse)
C++ response delegate for receiving the finalized remote session data (whether successful or not)
Definition LootLockerRemoteSessionRequestHandler.h:357
void(* FLootLockerRemoteSessionStatusPollingResponseDelegate)(FLootLockerRemoteSessionStatusPollingResponse)
C++ response delegate for receiving continual polling updates.
Definition LootLockerRemoteSessionRequestHandler.h:353
static void CancelRemoteSessionProcess(const FString &ProcessID)
Cancel a remote session process.
void(* FLootLockerLeaseRemoteSessionResponseDelegate)(FLootLockerLeaseRemoteSessionResponse)
C++ response delegate for receiving the remote session lease information.
Definition LootLockerRemoteSessionRequestHandler.h:349
static FString StartRemoteSessionForLinking(const FString &ForPlayerWithUlid, const FLootLockerLeaseRemoteSessionResponseDelegate &RemoteSessionLeaseInformation, const FLootLockerRemoteSessionStatusPollingResponseDelegate &RemoteSessionLeaseStatusUpdate, const FLootLockerStartRemoteSessionResponseDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeOutAfterMinutes=5.0f, ELootLockerAccountProvider Provider=ELootLockerAccountProvider::Guest)
Start a remote session lease process for linking into a specific player.
void(* FLootLockerInvokeTriggersByKeyResponseDelegate)(FLootLockerInvokeTriggersByKeyResponse)
C++ response delegate for invoking a set of triggers by key.
Definition LootLockerTriggersRequestHandler.h:117
static FString InvokeTriggersByKey(const TArray< FString > &KeysToInvoke, const FLootLockerInvokeTriggersByKeyResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
Invoke triggers by key.
static FString CreateAssetCandidate(const FLootLockerCreateAssetCandidateData &AssetCandidateData, const FCreateAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create an asset candidate (UGC submission draft).
void(* FAssetCandidatesResponseDelegate)(FLootLockerAssetCandidatesResponse)
C++ response callback delegate; receives an FLootLockerAssetCandidatesResponse result.
Definition LootLockerUserGeneratedContentRequestHandler.h:145
static FString CreateAssetCandidateAndMarkComplete(const FLootLockerCreateAssetCandidateData &AssetCandidateData, const FCreateAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Create an asset candidate and immediately mark it completed for review.
static FString GetAllAssetCandidates(const FAssetCandidatesResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
List all asset candidates created by the player.
void(* FCreateAssetCandidateResponseDelegate)(FLootLockerCreateAssetCandidateResponse)
C++ response callback delegate; receives an FLootLockerCreateAssetCandidateResponse result.
Definition LootLockerUserGeneratedContentRequestHandler.h:141
static FString DeleteAssetCandidate(int AssetCandidateId, const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Delete an asset candidate (irreversible).
static FString UpdateAssetCandidate(int AssetCandidateId, const FLootLockerUpdateAssetCandidateData &AssetCandidateData, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Update an existing asset candidate.
ELootLockerAssetFilePurpose
Purpose values for files attached to an asset candidate.
Definition LootLockerUserGeneratedContentRequestHandler.h:16
static FString AddFileToAssetCandidate(int AssetCandidateId, const FString &FilePath, ELootLockerAssetFilePurpose FilePurpose, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Add a file to an asset candidate.
void(* FAssetCandidateResponseDelegate)(FLootLockerAssetCandidateResponse)
C++ response callback delegate; receives an FLootLockerAssetCandidateResponse result.
Definition LootLockerUserGeneratedContentRequestHandler.h:143
static FString GetAssetCandidate(int AssetCandidateId, const FAssetCandidateResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get a single asset candidate by id.
static FString DeleteFileFromAssetCandidate(int AssetCandidateId, int FileId, const FResponseCallback &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Remove a file from an asset candidate.
static FString WhiteLabelRequestPasswordReset(const FString &Email, const FLootLockerDefaultDelegate &OnCompletedRequest)
Request password reset email.
static FString WhiteLabelVerifySession(const FLootLockerWhiteLabelVerifySessionDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Verify cached White Label session token.
static FString WhiteLabelLogin(const FString &Email, const FString &Password, const FLootLockerLoginResponseDelegate &OnCompletedRequest, const bool Remember=false)
Log in a White Label user (without starting session).
static FString WhiteLabelCreateAccount(const FString &Email, const FString &Password, const FLootLockerLoginResponseDelegate &OnCompletedRequest)
Create a White Label user.
static FString WhiteLabelStartSessionManual(const FString &Email, const FString &WhiteLabelToken, const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a session using cached White Label credentials.
static FString WhiteLabelLoginAndStartSession(const FString &Email, const FString &Password, const FLootLockerWhiteLabelLoginAndSessionResponseDelegate &OnCompletedRequest, const bool Remember=false, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Log in and start a session (White Label).
static FString WhiteLabelRequestUserVerificationByEmail(const FString &Email, const FLootLockerDefaultDelegate &OnCompletedRequest)
Request account verification email (by email).
static FString WhiteLabelStartSession(const FLootLockerSessionResponse &OnCompletedRequest, const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Start a session using cached White Label credentials.
static FString WhiteLabelRequestUserVerification(const int &UserId, const FLootLockerDefaultDelegate &OnCompletedRequest)
Request account verification email (by user id).
Definition LootLockerAssetInstancesRequestHandler.h:14
Definition LootLockerAssetInstancesRequestHandler.h:30
Definition LootLockerUserGeneratedContentRequestHandler.h:76
Definition LootLockerHeroRequestHandler.h:82
Definition LootLockerHeroRequestHandler.h:94
Definition LootLockerPlayerFilesRequestHandler.h:26
Definition LootLockerPlayerFilesRequestHandler.h:13
Request payload for simple asset listing.
Definition LootLockerAssetsRequestHandler.h:483
Request filters for simplified inventory listing.
Definition LootLockerPlayerRequestHandler.h:491
Definition LootLockerPlayerRequestHandler.h:341
Represents a single typed metadata entry with a key, value type, tags, and access level,...
Definition LootLockerMetadataRequestHandler.h:116
static FLootLockerMetadataEntry MakeEntryExceptValue(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const ELootLockerMetadataTypes Type)
void SetValueAsJsonObject(const FJsonObject &Value)
Set the value as a Json Object.
bool TryGetValueAsJsonObject(TSharedPtr< FJsonObject > &Output) const
Get the value as a Json Object.
Definition LootLockerPlayerRequestHandler.h:348
Deprecated date 20250304.
Definition LootLockerPlayerRequestHandler.h:334
Holds the content of a notification, including context key-value pairs, body type hint,...
Definition LootLockerNotificationsRequestHandler.h:785
bool TryGetContentBodyAsJsonObject(TSharedPtr< FJsonObject > &Output) const
Get the body as a Json Object.
Definition LootLockerPersistentStorageRequestHandler.h:13
Definition LootLockerPersistentStorageRequestHandler.h:26
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19
Optional parameters that can be sent when starting a session.
Definition LootLockerSessionOptionals.h:12
Definition LootLockerUserGeneratedContentRequestHandler.h:84
Definition LootLockerHeroRequestHandler.h:108