LootLocker Unreal SDK 10.5.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"
40#include "LootLockerSDKManager.generated.h"
41
42UCLASS(Blueprintable)
43class LOOTLOCKERSDK_API ULootLockerSDKManager : public UObject
44{
45 GENERATED_BODY()
46
47public:
48
49 //==================================================
50 // Player State
51 //==================================================
54
59 static TArray<FString> GetActivePlayerUlids();
60
66 static void SetPlayerUlidToInactive(const FString& PlayerUlid);
67
73 static void SetPlayerUlidToActive(const FString& PlayerUlid);
74
79
85 static void SetAllPlayersToInactiveExceptForPlayer(const FString& PlayerUlid);
86
92 static TArray<FString> GetCachedPlayerUlids();
93
99 static FString GetDefaultPlayerUlid();
100
107 static bool SetDefaultPlayer(const FString& PlayerUlid);
108
116
122 static void ClearCacheForPlayer(const FString& PlayerUlid);
123
129 static void ClearAllPlayerCachesExceptForPlayer(const FString& PlayerUlid);
130
134 static void ClearAllPlayerCaches();
135
137
138 //==================================================
139 // Authentication
140 //==================================================
143
149 static void StartSessionManual(const FLootLockerPlayerData& ForPlayer);
150
160 [[deprecated("This method is deprecated, please use VerifyPlayerAndStartPlaystationNetworkSession instead.")]] // Deprecation date 20250922
161 static FString StartPlaystationNetworkSession(const FString& PsnOnlineId, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
162
174 static FString VerifyPlayerAndStartPlaystationNetworkSession(const FString& AuthCode, const FString& AccountID, const FLootLockerSessionResponse& OnCompletedRequest, int PsnIssuerId = 256, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
175
186 static FString VerifyPlayerAndStartPlaystationNetworkV3Session(const FString& AuthCode, const FLootLockerSessionResponse& OnCompletedRequest, int EnvIssuerId = 256, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
187
197 static FString StartAndroidSession(const FString& DeviceId, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
198
208 static FString StartAmazonLunaSession(const FString& AmazonLunaGuid, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
209
221 static FString StartSteamSessionUsingTicket(const FString& SteamSessionTicket, const FLootLockerSessionResponse& OnCompletedRequest, const FString& SteamAppId = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
222
232 static FString StartNintendoSwitchSession(const FString& NSAIdToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
233
243 static FString StartXboxSession(const FString& XboxUserToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
244
254 static FString StartGoogleSession(const FString& IdToken, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
255
267
278 static FString RefreshGoogleSession(const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshGoogleSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
279
290 static FString RefreshGoogleSession(const FString& RefreshToken, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
291
301 static FString StartGooglePlayGamesSession(const FString& AuthCode, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
302
313 static FString RefreshGooglePlayGamesSession(const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshGooglePlayGamesSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
314
325 static FString RefreshGooglePlayGamesSession(const FString& RefreshToken, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
326
336 static FString StartAppleSession(const FString& AuthorizationCode, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
337
348 static FString RefreshAppleSession(const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshAppleSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
349
360 static FString RefreshAppleSession(const FString& RefreshToken, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
361
376 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());
377
388 static FString RefreshAppleGameCenterSession(const FLootLockerAppleGameCenterSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshAppleGameCenterSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
389
400 static FString RefreshAppleGameCenterSession(const FString& RefreshToken, const FLootLockerAppleGameCenterSessionResponseDelegate& OnRefreshAppleGameCenterSessionCompleted, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
401
411 static FString StartEpicSession(const FString& IdToken, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
412
423 static FString RefreshEpicSession(const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshEpicSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
424
435 static FString RefreshEpicSession(const FString& RefreshToken, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
436
447 static FString StartMetaSession(const FString& UserId, const FString& Nonce, const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
448
459 static FString RefreshMetaSession(const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshMetaSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OncompletedRequest, Optionals); };
460
471 static FString RefreshMetaSession(const FString& RefreshToken, const FLootLockerMetaSessionResponseDelegate& OncompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
472
481 static FString GuestLogin(const FLootLockerSessionResponse& OnCompletedRequest, const FString& PlayerIdentifier = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
482
492 static FString StartDiscordSession(const FString& AccessToken, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
493
504 static FString RefreshDiscordSession(const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals()) { return RefreshDiscordSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest, Optionals); };
505
516 static FString RefreshDiscordSession(const FString& RefreshToken, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
517
527 [[deprecated("This method is deprecated, please use VerifyPlayerAndStartPlaystationNetworkSession or VerifyPlayerAndStartSteamSession instead.")]] // Deprecation date 20250922
528 static FString VerifyPlayer(const FString& PlatformToken, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& Platform = FString(TEXT("")), const FString& ForPlayerWithUlid = "");
529
539 static FString EndSession(const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
540
552 static FString GetPlayerBanStatus(const FString& PlayerUlid, const FLootLockerBanStatusDelegate& OnCompletedRequest);
553
555
556 //==================================================
557 // Connected Accounts
558 //==================================================
561
568 static FString ListConnectedAccounts(const FLootLockerListConnectedAccountsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
569
578 static FString DisconnectAccount(const ELootLockerAccountProvider AccountToDisconnect, const FLootLockerDefaultDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
579
588 static FString ConnectGoogleAccount(const FString& IdToken, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
589
599 static FString ConnectGoogleAccount(const FString& IdToken, EGoogleAccountProviderPlatform Platform, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
600
609 static FString ConnectAppleAccountByRestSignIn(const FString& AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
610
619 static FString ConnectTwitchAccount(const FString& AuthorizationCode, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
620
629 static FString ConnectEpicAccount(const FString& Token, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
630
640 static FString ConnectPlaystationAccount(const FString& Environment, const FString& Code, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
641
650 static FString ConnectDiscordAccount(const FString& Token, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
651
661 static FString ConnectRemoteSessionAccount(const FString& Code, const FString& Nonce, const FLootLockerAccountConnectedResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
662
683 static FString TransferIdentityProvidersBetweenAccounts(const FString& FromPlayerWithUlid, const FString& ToPlayerWithUlid, TArray<ELootLockerAccountProvider> ProvidersToTransfer, const FLootLockerListConnectedAccountsResponseDelegate& OnComplete);
684
686
687 //==================================================
688 // Remote Sessions
689 //==================================================
692
707 static FString StartRemoteSession(
708 const FLootLockerLeaseRemoteSessionResponseDelegate& RemoteSessionLeaseInformation,
709 const FLootLockerRemoteSessionStatusPollingResponseDelegate& RemoteSessionLeaseStatusUpdate,
711 float PollingIntervalSeconds = 1.0f,
712 float TimeOutAfterMinutes = 5.0f,
714
729 const FString& ForPlayerWithUlid,
730 const FLootLockerLeaseRemoteSessionResponseDelegate& RemoteSessionLeaseInformation,
731 const FLootLockerRemoteSessionStatusPollingResponseDelegate& RemoteSessionLeaseStatusUpdate,
733 float PollingIntervalSeconds = 1.0f,
734 float TimeOutAfterMinutes = 5.0f,
736
742 static void CancelRemoteSessionProcess(const FString& ProcessID);
743
753 static FString RefreshRemoteSession(const FLootLockerRefreshRemoteSessionResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "") { return RefreshRemoteSession(GetSavedStateOrDefaultOrEmptyForPlayer(ForPlayerWithUlid).RefreshToken, OnCompletedRequest); };
754
764 static FString RefreshRemoteSession(const FString& RefreshToken, const FLootLockerRefreshRemoteSessionResponseDelegate& OnCompletedRequest);
765
767
768 //==================================================
769 // White Label
770 //==================================================
773
784 static FString WhiteLabelCreateAccount(const FString& Email, const FString& Password, const FLootLockerLoginResponseDelegate& OnCompletedRequest);
785
797 static FString WhiteLabelLogin(const FString& Email, const FString& Password, const FLootLockerLoginResponseDelegate& OnCompletedRequest, const bool Remember = false);
798
809
821 static FString WhiteLabelStartSessionManual(const FString& Email, const FString& WhiteLabelToken, const FLootLockerSessionResponse& OnCompletedRequest, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
822
833 static FString WhiteLabelLoginAndStartSession(const FString& Email, const FString& Password, const FLootLockerWhiteLabelLoginAndSessionResponseDelegate& OnCompletedRequest, const bool Remember = false, const FLootLockerSessionOptionals& Optionals = FLootLockerSessionOptionals());
834
844 static FString WhiteLabelVerifySession(const FLootLockerWhiteLabelVerifySessionDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
845
853 static FString WhiteLabelRequestUserVerification(const int& UserId, const FLootLockerDefaultDelegate& OnCompletedRequest);
854
862 static FString WhiteLabelRequestUserVerificationByEmail(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
863
871 static FString WhiteLabelRequestPasswordReset(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
872
874
875 //==================================================
876 // Player calls
877 //==================================================
880
888 static FString GetCurrentPlayerInfo(const FLootLockerGetCurrentPlayerInfoResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
889
900 static FString ListPlayerInfo(TArray<FString> PlayerIdsToLookUp, TArray<int> PlayerLegacyIdsToLookUp, TArray<FString> PlayerPublicUidsToLookUp, const FLootLockerListPlayerInfoResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
901
909 static FString GetInventory(const FInventoryResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
910
919 static FString GetFullInventory(const FInventoryResponse & OnCompletedRequest, int32 StartIndex, const FString& ForPlayerWithUlid = "");
920
928 static FString CheckPlayerAssetActivationNotification(const FLootLockerAssetNotificationResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
929
937 static FString ListPlayerInventoryWithDefaultParameters(const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
938
949 static FString ListPlayerInventory(const FLootLockerListSimplifiedInventoryRequest& Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
950
959 static FString ListCharacterInventoryWithDefaultParameters(int CharacterId, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
960
972 static FString ListCharacterInventory(int CharacterId, const FLootLockerListSimplifiedInventoryRequest& Request, int PerPage, int Page, const FLootLockerSimpleInventoryResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
973
981 static FString GetCurrencyBalance(const FPBalanceResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
982
990 static FString InitiateDLCMigration(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
991
999 static FString GetDLCsMigration(const FPDlcResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1000
1008 static FString SetProfilePrivate(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1009
1017 static FString SetProfilePublic(const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1018
1027 static FString SetPlayerName(FString Name, const FPNameResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1028
1036 static FString GetPlayerName(const FPNameResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1037
1046 [[deprecated("This method is deprecated in favor of method LookupMultiplePlayersDataUsingIDs")]] // Deprecation date 20250304
1047 static FString LookupMultiplePlayerNamesUsingIDs(const FLootLockerMultiplePlayerNamesRequest &Request, const FPMultiplePlayerNames& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1048
1057 static FString LookupMultiplePlayersDataUsingIDs(const FLootLockerLookupMultiplePlayersDataRequest& Request, const FPMultiplePlayerNames& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1058
1067 static FString LookupMultiplePlayerNames1stPlatformIDs(const FLootLockerMultiplePlayerNamesAndPlatformsRequest & Request, const FPMultiplePlayersPlatformIdsNames & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1068
1076 static FString DeletePlayer(const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1077
1079
1080 //==================================================
1081 // Files
1082 //==================================================
1085
1095 static FString UploadFile(const FLootLockerFileUploadRequest & Request, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1096
1106 static FString UpdateFile(const int32 FileId, const FLootLockerFileUpdateRequest & Request, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1107
1115 static FString ListFiles(const FLootLockerFileListDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1116
1125 static FString ListOtherPlayersPublicFiles(const int32 PlayerID, const FLootLockerFileListDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1126
1135 static FString GetSingleFile(const int32 FileID, const FLootLockerUploadFileDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1136
1145 static FString DeletePlayerFile(const int32 FileID, const FLootLockerFileDeletedDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1146
1148
1149 //==================================================
1150 // Player Progressions
1151 //==================================================
1154
1164 static FString GetPlayerProgressions(const int32 & Count, const FString & After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1165
1174 static FString GetPlayerProgressions(const int32 & Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1175
1183 static FString GetPlayerProgressions(const FLootLockerPaginatedPlayerProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1184
1193 static FString GetPlayerProgression(const FString & ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1194
1204 static FString AddPointsToPlayerProgression(const FString & ProgressionKey, const int32 & Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1205
1215 static FString SubtractPointsFromPlayerProgression(const FString & ProgressionKey, const int32 & Amount, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1216
1225 static FString ResetPlayerProgression(const FString & ProgressionKey, const FLootLockerPlayerProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1226
1235 static FString DeletePlayerProgression(const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1236
1247 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const int32& Count, const FString& After, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1248
1258 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const int32& Count, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1259
1268 static FString GetOtherPlayersProgressions(const FString& PlayerUlid, const FLootLockerPaginatedPlayerProgressionsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1269
1279 static FString GetOtherPlayersProgression(const FString& PlayerUlid, const FString& ProgressionKey, const FLootLockerPlayerProgressionResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
1280
1282
1283 //==================================================
1284 // Asset Instance Progressions
1285 //==================================================
1288
1299 static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 Count, const FString & After, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete = FLootLockerPaginatedInstanceProgressionsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1309 static FString GetInstanceProgressions(const int32 AssetInstanceId, const int32 & Count, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1310
1319 static FString GetInstanceProgressions(const int32 AssetInstanceId, const FLootLockerPaginatedInstanceProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1320
1330 static FString GetInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerInstanceProgressionResponseDelegate & OnComplete = FLootLockerInstanceProgressionResponseDelegate(), const FString& ForPlayerWithUlid = "");
1331
1342 static FString AddPointsToInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1343
1354 static FString SubtractPointsFromInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const int32 Amount, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1355
1365 static FString ResetInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerInstanceProgressionWithRewardsResponseDelegate & OnComplete = FLootLockerInstanceProgressionWithRewardsResponseDelegate(), const FString& ForPlayerWithUlid = "");
1366
1376 static FString DeleteInstanceProgression(const int32 AssetInstanceId, const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete = FLootLockerDeleteProgressionDelegate(), const FString& ForPlayerWithUlid = "");
1377
1378
1380
1381 //==================================================
1382 // Heroes
1383 //==================================================
1386
1394 static FString GetGameHeroes(const FLootLockerGameHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1395
1403 static FString ListPlayerHeroes(const FLootLockerHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1404
1413 static FString ListOtherPlayersHeroesBySteamID64(const int64 SteamID64, const FLootLockerHeroListDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1414
1423 static FString CreateHero(const FLootLockerCreateHeroRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1424
1433 static FString CreateHeroWithVariation(const FLootLockerCreateHeroWithVariationRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1434
1443 static FString GetHero(const int32 HeroID, const FLootLockerPlayerHeroDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1444
1453 static FString GetOtherPlayersDefaultHeroBySteamID64(const int64 SteamID64, const FLootLockerPlayerHeroDelegate & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1454
1464 static FString UpdateHero(const int32 HeroID, const FLootLockerUpdateHeroRequest & Request, const FLootLockerPlayerHeroDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1465
1474 static FString DeleteHero(const int32 HeroID, const FLLHeroDefaultResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1475
1484 static FString GetHeroInventory(const int32 HeroID, const FInventoryResponse & OnCompleteRequest, const FString& ForPlayerWithUlid = "");
1485
1494 static FString GetHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1495
1504 static FString GetOtherPlayersHeroLoadout(const int32 HeroID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1505
1515 static FString AddAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1516
1526 static FString AddGlobalAssetToHeroLoadout(const int32 HeroID, const int32 AssetID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1527
1538 static FString AddGlobalAssetVariationToHeroLoadout(const int32 HeroID, const int32 AssetID, const int32 AssetVariationID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1539
1549 static FString RemoveAssetToHeroLoadout(const int32 HeroID, const int32 AssetInstanceID, const FHeroLoadoutReseponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1550
1552
1553 //==================================================
1554 // Characters
1555 //==================================================
1558
1567 static FString GetCharacterLoadout(const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1568
1579 static FString UpdateCharacter(int CharacterId, bool IsDefault, FString & Name, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1580
1592 [[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
1593 static FString CreateCharacter(bool IsDefault, const FString & CharacterName, const FString & CharacterTypeId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1594
1606 static FString CreateCharacter(bool IsDefault, const FString & CharacterName, const int & CharacterTypeId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1607
1616 static FString DeleteCharacter(int CharacterId, const FLootLockerCharacterDefaultResponse& OnCompletedRequestBP, const FString& ForPlayerWithUlid = "");
1617
1625 static FString ListCharacterTypes(const FPLootLockerListCharacterTypesResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1626
1627
1636 static FString EquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1637
1648 static FString EquipAssetToCharacterById(int CharacterId, int AssetId, int AssetVariationId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1649
1659 static FString EquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1660
1669 static FString UnEquipAssetToDefaultCharacter(int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1670
1680 static FString UnEquipAssetToCharacterById(int CharacterId, int InstanceId, const FLootLockerCharacterDefaultResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1681
1689 static FString GetCurrentLoadoutToDefaultCharacter(const FCharacterLoadoutResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1690
1700 static FString GetOtherPlayersCurrentLoadoutToDefaultCharacter(FString OtherPlayerId, const FCharacterLoadoutResponse & OnCompletedRequest, const FString & OtherPlayerPlatform = FString(TEXT("")), const FString& ForPlayerWithUlid = "");
1701
1709 static FString GetEquipableContextsToDefaultCharacter(const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1710
1719 static FString GetEquipableContextsByCharacterId(int OtherCharacterId, const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1720
1727 static FString ListPlayerCharacters(const FPLootLockerListPlayerCharactersResponse & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1728
1738 static FString GetOtherPlayersCharacterLoadouts(const FString& OtherPlayerId, const FCharacterLoadoutResponse& OnCompletedRequest, const FString& ForPlayerWithUlid = "", const FString& OtherPlayerPlatform = "");
1739
1748 static FString GetOtherPlayersCharacterLoadoutsByUid(const FString& OtherPlayerUid, const FCharacterLoadoutResponse& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1749
1750
1752
1753 //==================================================
1754 // Character Progressions
1755 //==================================================
1758
1769 static FString GetCharacterProgressions(const int32 & CharacterId, const int32 & Count, const FString & After, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1770
1780 static FString GetCharacterProgressions(const int32 & CharacterId, const int32 & Count, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1781
1790 static FString GetCharacterProgressions(const int32 & CharacterId, const FLootLockerPaginatedCharacterProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1791
1801 static FString GetCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerCharacterProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1802
1813 static FString AddPointsToCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const int32 & Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1814
1825 static FString SubtractPointsFromCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const int32 & Amount, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1826
1836 static FString ResetCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerCharacterProgressionWithRewardsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1837
1847 static FString DeleteCharacterProgression(const int32 & CharacterId, const FString & ProgressionKey, const FLootLockerDeleteProgressionDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
1848
1850
1851 //==================================================
1852 // Persistent Storage
1853 //==================================================
1856
1865 static FString GetEntirePersistentStorage(const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1866
1876 static FString GetItemFromPersistentStorage(const FString & Key, const FPersistentStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1877
1887 static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItems Items, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1888
1898 static FString AddItemsToPersistentStorage(const FLootLockerPersistentStorageItem Item, const FPersistentStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1899
1909 static FString DeleteItemFromPersistentStorage(const FString & Key, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1910
1920 static FString GetPlayerPersistentStorage(const FString & PlayerId, const FPersistentStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1921
1923
1924 //==================================================
1925 // Assets
1926 //==================================================
1929
1937 static FString GetContexts(const FContextDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1938
1951 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 = "");
1952
1962 static FString GetUniversalAssets(int After, int ItemsCount, const FUniversalAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1963
1972 static FString GetAssetsByIds(const TArray<int>&AssetIds, const FAssetsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1973
1981 static FString GetAssetBones(const FAssetBonesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1982
1990 static FString GetFavouriteAssetIndices(const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
1991
2000 static FString AddAssetToFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2001
2010 static FString RemoveAssetFromFavourites(int AssetId, const FGetFavouriteAssetIndicesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2011
2021 static FString GrantAssetToPlayerInventory(const int AssetID, const int AssetVariationID, const int AssetRentalOptionID, const FGrantAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2022
2030 static FString GrantAssetToPlayerInventory(const int AssetID, const FGrantAssetResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") {
2031 return GrantAssetToPlayerInventory(AssetID, 0, 0, OnCompletedRequest, ForPlayerWithUlid);
2032 }
2033
2041 static FString ListAssetsWithDefaultParameters(const FListSimpleAssetsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2042
2056 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 = "");
2057
2058
2060
2061 //==================================================
2062 // Asset Instances
2063 //==================================================
2066
2075 static FString GetAllKeyValuePairsForAssetInstance(int AssetInstanceId, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2076
2086 static FString GetAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2087
2097 static FString CreateAKeyValuePairForAssetInstance(int AssetInstanceId, const FLootLockerAssetInstanceStorageItem & Item, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2098
2108 static FString UpdateOneOrMoreKeyValuePairForAssetInstance(int AssetInstanceId, FLootLockerAssetInstanceStorageItems Items, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2109
2120 static FString UpdateAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FLootLockerAssetInstanceStorageItem Item, const FAssetInstanceStorageItemResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2121
2131 static FString DeleteAKeyValuePairByIdForAssetInstance(int AssetInstanceId, int StorageItemId, const FAssetInstanceStorageItemsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2132
2141 static FString InspectLootBox(int AssetInstanceId, const FLootBoxContentResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2142
2151 static FString OpenLootBox(int AssetInstanceId, const FOpenLootBoxResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2152
2161 static FString DeleteAssetInstanceFromPlayerInventory(int AssetInstanceID, const FDeleteAssetInstanceResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2162
2163
2165
2166 //==================================================
2167 // User Generated Content
2168 //==================================================
2171
2180 static FString CreateAssetCandidate(const FLootLockerCreateAssetCandidateData & AssetCandidateData, const FCreateAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2181
2190 static FString CreateAssetCandidateAndMarkComplete(const FLootLockerCreateAssetCandidateData & AssetCandidateData, const FCreateAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2191
2201 static FString UpdateAssetCandidate(int AssetCandidateId, const FLootLockerUpdateAssetCandidateData & AssetCandidateData, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2202
2211 static FString DeleteAssetCandidate(int AssetCandidateId, const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2212
2220 static FString GetAllAssetCandidates(const FAssetCandidatesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2221
2230 static FString GetAssetCandidate(int AssetCandidateId, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2231
2242 static FString AddFileToAssetCandidate(int AssetCandidateId, const FString & FilePath, ELootLockerAssetFilePurpose FilePurpose, const FAssetCandidateResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2243
2253 static FString DeleteFileFromAssetCandidate(int AssetCandidateId, int FileId, const FResponseCallback & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2254
2256
2257 //==================================================
2258 // Progressions
2259 //==================================================
2262
2272 static FString GetProgressions(const int32 & Count, const FString & After, const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2273
2282 static FString GetProgressions(const int32 & Count, const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2283
2291 static FString GetProgressions(const FLootLockerPaginatedProgressionsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2292
2301 static FString GetProgression(const FString & ProgressionKey, const FLootLockerProgressionResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2302
2313 static FString GetProgressionTiers(const FString & ProgressionKey, const int32 & Count, const int32 & After, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2314
2324 static FString GetProgressionTiers(const FString & ProgressionKey, const int32 & Count, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2325
2334 static FString GetProgressionTiers(const FString & ProgressionKey, const FLootLockerPaginatedProgressionTiersResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2335
2337
2338 //==================================================
2339 // Maps
2340 //==================================================
2343
2351 static FString GetMaps(const FGetMapsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2352
2354
2355 //==================================================
2356 // Purchases
2357 //==================================================
2360
2369 static FString ActivateRentalAsset(int AssetInstanceId, const FActivateRentalAssetResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2370
2380 static FString LootLockerPurchaseSingleCatalogItem(const FString & WalletId, const FString & CatalogItemListingId, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2381
2391 static FString LootLockerPurchaseCatalogItems(const FString & WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair> ItemsToPurchase, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2392
2402 static FString RedeemAppleAppStorePurchaseForPlayer(const FString & TransactionId, const FLootLockerDefaultDelegate & OnCompletedRequest, bool Sandboxed = false, const FString& ForPlayerWithUlid = "");
2403
2414 static FString RedeemAppleAppStorePurchaseForClass(const int ClassId, const FString & TransactionId, const FLootLockerDefaultDelegate & OnCompletedRequest, bool Sandboxed = false, const FString& ForPlayerWithUlid = "");
2415
2425 static FString RedeemGooglePlayStorePurchaseForPlayer(const FString & ProductId, const FString & PurchaseToken, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2426
2437 static FString RedeemGooglePlayStorePurchaseForClass(const int ClassId, const FString & ProductId, const FString & PurchaseToken, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2438
2450 static FString RedeemEpicStorePurchase(const FString& AccountId, const FString& BearerToken, const TArray<FString>& EntitlementIds, const FString& SandboxId, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2451
2464 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 = "");
2465
2473 static FString GetXboxServiceTicket(const FLootLockerXboxServiceTicketDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2474
2484 static FString RedeemXboxStorePurchaseForPlayer(const FString& UserCollectionsId, const FString& ProductId, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2485
2496 static FString RedeemXboxStorePurchaseForClass(int ClassId, const FString& UserCollectionsId, const FString& ProductId, const FLootLockerDefaultDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2497
2498#ifdef LOOTLOCKER_BETA_PLAYSTATION_IAP
2513 //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 = "");
2514
2530 //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 = "");
2531#endif
2532
2545 static FString BeginSteamPurchaseRedemption(const FString & SteamId, const FString & Currency, const FString & Language, const FString & CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2546
2560 static FString BeginSteamPurchaseRedemptionForClass(const int ClassId, const FString & SteamId, const FString & Currency, const FString & Language, const FString & CatalogItemId, const FLootLockerBeginSteamPurchaseRedemptionDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2561
2570 static FString QuerySteamPurchaseRedemptionStatus(const FString & EntitlementId, const FLootLockerQuerySteamPurchaseRedemptionStatusDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2571
2580 static FString FinalizeSteamPurchaseRedemption(const FString & EntitlementId, const FLootLockerDefaultDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2581
2591 static FString InitiateAsyncPurchaseCatalogItems(const FString& WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair>& Items, const FLootLockerAsyncPurchaseInitiatedDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2592
2601 static FString GetAsyncPurchaseStatus(const FString& EntitlementId, const FLootLockerAsyncPurchaseStatusDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2602
2613 static FString RetryAsyncPurchase(const FString& EntitlementId, const FString& WalletId, const TArray<FLootLockerCatalogItemAndQuantityPair>& Items, const FLootLockerAsyncPurchaseInitiatedDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2614
2628 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 = "");
2629
2635 static void CancelAsyncPurchasePolling(const FString& ProcessID);
2636
2651 static FString RefundByEntitlementIds(const TArray<FString>& EntitlementIds, const FLootLockerRefundByEntitlementIdsDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2652
2666 static FString CreateStripeCheckoutSession(const FString& CatalogItemId, const FLootLockerCreateStripeCheckoutSessionDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2667
2669
2670 //==================================================
2671 // Triggers
2672 //==================================================
2675
2686 static FString InvokeTriggersByKey(const TArray<FString>&KeysToInvoke, const FLootLockerInvokeTriggersByKeyResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2687
2689
2690 //==================================================
2691 // Notifications
2692 //==================================================
2695
2703 static FString ListNotificationsWithDefaultParameters(const FLootLockerListNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2704
2718 static FString ListNotifications(bool ShowRead, const FString & OfType, const FString & WithSource, ELootLockerCustomNotificationFiltering CustomNotificationsFilter, int PerPage, int Page, const FLootLockerListNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2719
2734 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 = "");
2735
2743 template<typename T>
2745 {
2746 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
2747 if (!Content.TryGetContentBodyAsJsonObject(jsonObject))
2748 {
2749 return false;
2750 }
2751 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
2752 }
2753
2762 static FString MarkAllNotificationsAsRead(const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2763
2772 static FString MarkNotificationsAsRead(const TArray<FLootLockerNotification>&Notifications, const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2773
2782 static FString MarkNotificationsAsReadByIds(const TArray<FString>&NotificationIDs, const FLootLockerReadNotificationsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
2783
2785
2786 //==================================================
2787 // Broadcasts
2788 //==================================================
2791
2799 static FString ListTopBroadcasts(const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2800
2809 static FString ListTopBroadcastsLocalized(const TArray<FString>& Languages, const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2810
2820 static FString ListBroadcasts(const TArray<FString>& Languages, int32 Limit, const FLootLockerListBroadcastsResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
2821
2823
2824 //==================================================
2825 // Messages
2826 //==================================================
2829
2837 static FString GetMessages(const FMessagesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2838
2840
2841 //==================================================
2842 // Leaderboard
2843 //==================================================
2846
2854 static FString ListLeaderboards(const FLootLockerListLeaderboardsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") {
2855 return ListLeaderboards(-1, 0, OnCompletedRequest, ForPlayerWithUlid);
2856 };
2857
2867 static FString ListLeaderboards(int Count, int After, const FLootLockerListLeaderboardsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2868
2878 static FString GetMemberRank(FString LeaderboardKey, FString MemberId, const FLootLockerGetMemberRankResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2879
2889 static FString GetByListOfMembers(TArray<FString> Members, FString LeaderboardKey, const FLootLockerGetByListOfMembersResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2890
2901 static FString GetScoreList(FString LeaderboardKey, int Count, int After, const FLootLockerGetScoreListResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2902
2912 static FString GetScoreListInitial(FString LeaderboardKey, int Count, const FLootLockerGetScoreListResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2913
2925 static FString SubmitScore(FString MemberId, const FString LeaderboardKey, const int Score, FString Metadata, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2926
2936 static FString QueryScore(const FString LeaderboardKey, const int Score, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2937
2948 static FString IncrementScore(FString MemberId, const FString LeaderboardKey, const int Amount, const FLootLockerSubmitScoreResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2949
2960 static FString GetAllMemberRanks(FString MemberId, const int Count, const int After, const FLootLockerGetAllMemberRanksResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2961
2970 static FString ListLeaderboardArchive(const FString & LeaderboardKey, const FLootLockerLeaderboardArchiveResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2971
2982 static FString GetLeaderboardArchive(const FString & Key, int Count, const FString & After, const FLootLockerLeaderboardArchiveDetailResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
2983
2992 static FString GetLeaderboardArchive(const FString & Key, const FLootLockerLeaderboardArchiveDetailResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "") { return GetLeaderboardArchive(Key, -1, "", OnCompletedRequest); }
2993
3002 static FString GetLeaderboardDetails(const FString & LeaderboardKey, const FLootLockerLeaderboardDetailsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3003
3005
3006 //==================================================
3007 // Drop Table
3008 //==================================================
3011
3020 static FString ComputeAndLockDropTable(const int TableId, const FLootLockerComputeAndLockDropTableResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3021
3031 static FString PickDropsFromDropTable(const TArray<int> Picks, const int TableId, const FFLootLockerPickDropsFromDropTableResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3032
3034
3035 //==================================================
3036 // Currencies
3037 //==================================================
3040
3048 static FString ListCurrencies(const FLootLockerListCurrenciesResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3049
3058 static FString GetCurrencyDetails(const FString & CurrencyCode, const FLootLockerGetCurrencyDetailsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3059
3068 static FString GetCurrencyDenominationsByCode(const FString & CurrencyCode, const FLootLockerListDenominationsResponseDelegate & OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3069
3071
3072 //==================================================
3073 // Balances
3074 //==================================================
3077
3086 static FString ListBalancesInWallet(const FString & WalletID, const FLootLockerListBalancesForWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3087
3096 static FString GetWalletByWalletID(const FString & WalletID, const FLootLockerGetWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3097
3107 static FString GetWalletByHolderID(const FString & HolderULID, const ELootLockerWalletHolderTypes & HolderType, const FLootLockerGetWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3108
3119 static FString CreditBalanceToWallet(const FString & WalletID, const FString & CurrencyID, const FString & Amount, const FLootLockerCreditWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3120
3131 static FString DebitBalanceToWallet(const FString & WalletID, const FString & CurrencyID, const FString & Amount, const FLootLockerDebitWalletResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3132
3134
3135 //==================================================
3136 // Catalogs
3137 //==================================================
3140
3147 static FString ListCatalogs(const FLootLockerListCatalogsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3148
3159 [[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
3160 static FString ListCatalogItems(const FString & CatalogKey, int Count, const FString & After, const FLootLockerListCatalogPricesResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3161
3170 [[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
3171 static FString ListCatalogItems(const FString & CatalogKey, const FLootLockerListCatalogPricesResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "")
3172 {
3173#pragma warning(suppress : 4996)
3174 return ListCatalogItems(CatalogKey, -1, "", OnComplete, ForPlayerWithUlid);
3175#pragma warning(default : 4996)
3176 }
3177
3188 static FString ListCatalogItems(const FString & CatalogKey, int PerPage, int Page, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3189
3198 static FString ListCatalogItems(const FString & CatalogKey, const FLootLockerListCatalogPricesV2ResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") { return ListCatalogItems(CatalogKey, -1, 0, OnComplete, ForPlayerWithUlid); }
3199
3209 static FString ListCatalogItemsById(const TArray<FString>& CatalogListingIds, bool IncludeMetadata, const TArray<FString>& MetadataKeys, const FLootLockerListCatalogItemsByIdResponseDelegate& OnComplete, const FString& ForPlayerWithUlid = "");
3210
3212
3213 //==================================================
3214 // Entitlements
3215 //==================================================
3218
3228 static FString ListEntitlements(int Count, const FString & After, const FLootLockerListEntitlementsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3229
3237 static FString ListEntitlements(const FLootLockerListEntitlementsResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "") { return ListEntitlements(-1, "", OnComplete, ForPlayerWithUlid); }
3238
3247 static FString GetEntitlement(const FString & EntitlementID, FLootLockerSingleEntitlementResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3248
3250
3251 //==================================================
3252 // Feedback
3253 //==================================================
3256
3264 static FString ListPlayerFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3265
3273 static FString ListGameFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3274
3282 static FString ListUGCFeedbackCategories(const FLootLockerListFeedbackCategoryResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3283
3294 static FString SendPlayerFeedback(const FString & Ulid, const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3295
3305 static FString SendGameFeedback(const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3306
3317 static FString SendUGCFeedback(const FString & Ulid, const FString & Description, const FString & CategoryID, const FLootLockerSendFeedbackResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3318
3331 static FString SendLootLockerErrorReport(const FString& UserDescription, const FLootLockerResponse& FailedResponse, const FLootLockerSendErrorReportDelegate& OnComplete);
3332
3334
3335 //==================================================
3336 // Metadata
3337 //==================================================
3340
3351 static FString ListMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3352
3365 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 = "");
3366
3378 static FString ListMetadataWithTags(const ELootLockerMetadataSources Source, const FString & SourceID, const TArray<FString>&Tags, const FLootLockerListMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3379
3393 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 = "");
3394
3406 static FString GetMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const FString & Key, const FLootLockerGetMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3407
3417 static FString GetMultisourceMetadata(const TArray<FLootLockerMetadataSourceAndKeys>&SourcesAndKeysToGet, const FLootLockerGetMultisourceMetadataResponseDelegate & OnComplete, const bool IgnoreFiles = false, const FString& ForPlayerWithUlid = "");
3418
3429 static FString SetMetadata(const ELootLockerMetadataSources Source, const FString & SourceID, const TArray<FLootLockerSetMetadataAction>&MetadataToActionsToPerform, const FLootLockerSetMetadataResponseDelegate & OnComplete, const FString& ForPlayerWithUlid = "");
3430
3438 template<typename T>
3439 static bool TryGetMetadataValueAsUStruct(const FLootLockerMetadataEntry& Entry, T& Output)
3440 {
3441 TSharedPtr<FJsonObject> jsonObject = MakeShared<FJsonObject>();
3442 if (!Entry.TryGetValueAsJsonObject(jsonObject))
3443 {
3444 return false;
3445 }
3446 return FJsonObjectConverter::JsonObjectToUStruct<T>(jsonObject.ToSharedRef(), &Output, 0, 0);
3447 }
3448
3458 template<typename T>
3459 static FLootLockerMetadataEntry MakeMetadataEntryWithUStructValue(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const T& Value)
3460 {
3461 TSharedPtr<FJsonObject> JsonObject = FJsonObjectConverter::UStructToJsonObject(Value);
3462 if (!JsonObject.IsValid())
3463 {
3464 return FLootLockerMetadataEntry();
3465 }
3467 Entry.SetValueAsJsonObject(*JsonObject);
3468 return Entry;
3469 }
3470
3472
3473 //==================================================
3474 // Followers
3475 //==================================================
3478
3487 static FString ListFollowers(const FString& PlayerPublicId, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3488
3496 static FString ListFollowers(const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3497
3507 static FString ListFollowersPaginated(const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3508
3519 static FString ListFollowersPaginated(const FString& PlayerPublicId, const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3520
3529 static FString ListFollowing(const FString& PlayerPublicId, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3530
3538 static FString ListFollowing(const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3548 static FString ListFollowingPaginated(const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3559 static FString ListFollowingPaginated(const FString& PlayerPublicId, const FString& Cursor, int32 Count, const FLootLockerListFollowersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3560
3569 static FString FollowPlayer(const FString& PlayerPublicId, const FLootLockerFollowActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3570
3579 static FString UnfollowPlayer(const FString& PlayerPublicId, const FLootLockerFollowActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3580
3582
3583 //==================================================
3584 // Friends
3585 //==================================================
3588
3596 static FString ListFriends(const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3597
3607 static FString ListFriendsPaginated(int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3608
3619 static FString ListFriendsByPlatform(const ELootLockerPlatform Platform, int32 Page, int32 PerPage, const FLootLockerListFriendsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3620
3628 static FString ListIncomingFriendRequests(const FLootLockerListIncomingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3638 static FString ListIncomingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListIncomingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3639
3647 static FString ListOutgoingFriendRequests(const FLootLockerListOutgoingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3657 static FString ListOutgoingFriendRequestsPaginated(int32 Page, int32 PerPage, const FLootLockerListOutgoingFriendRequestsResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3658
3667 static FString SendFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3668
3679 static FString DeleteFriend(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3680
3689 static FString CancelOutgoingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3690
3699 static FString AcceptIncomingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3700
3709 static FString DeclineIncomingFriendRequest(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3710
3718 static FString ListBlockedPlayers(const FLootLockerListBlockedPlayersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3728 static FString ListBlockedPlayersPaginated(int32 Page, int32 PerPage, const FLootLockerListBlockedPlayersResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3729
3738 static FString GetFriend(const FString& FriendUlid, const FLootLockerGetFriendResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3739
3748 static FString BlockPlayer(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3749
3758 static FString UnblockPlayer(const FString& PlayerULID, const FLootLockerFriendActionResponseDelegate& OnResponseCompleted, const FString& ForPlayerWithUlid = "");
3759
3761
3762 //==================================================
3763 // Miscellaneous
3764 //==================================================
3767
3775 static FString GetServerTime(const FTimeResponseDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3776
3784 static FString GetLastActivePlatform(const FString& ForPlayerWithUlid = "");
3785
3792 static FString GetGameInfo(const FGameInfoResponseDelegate& OnComplete);
3793
3817 static FString CheckConnectionStatus(const FLootLockerConnectionStateDelegate& OnCompletedRequest, const FString& ForPlayerWithUlid = "");
3818
3820
3821 //==================================================
3822 // Presence
3823 //==================================================
3826
3837 static void ForceStartPresenceConnection(const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3838
3849 static void ForceStopPresenceConnection(const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3850
3859
3867 static TArray<FString> ListPresenceConnections();
3868
3879 static void UpdatePresenceStatus(const FString& Status, const TMap<FString, FString>& Metadata, const FLootLockerPresenceCallbackDelegate& OnComplete, const FString& ForPlayerWithUlid = TEXT(""));
3880
3889 static ELootLockerPresenceConnectionState GetPresenceConnectionState(const FString& ForPlayerWithUlid = TEXT(""));
3890
3899 static bool IsPresenceConnected(const FString& ForPlayerWithUlid = TEXT(""));
3900
3909 static FLootLockerPresenceConnectionStats GetPresenceConnectionStats(const FString& ForPlayerWithUlid = TEXT(""));
3910
3919 static FString GetCurrentPresenceStatus(const FString& ForPlayerWithUlid = TEXT(""));
3920
3928 static void SetPresenceEnabled(bool bEnabled);
3929
3937 static bool IsPresenceEnabled();
3938
3946 static void SetPresenceAutoConnectEnabled(bool bEnabled);
3947
3956
3967
3977
3978};
void(* FLootLockerBanStatusDelegate)(FLootLockerBanStatusResponse)
Definition LootLockerBanRequestHandler.h:47
void(* FLootLockerSendErrorReportDelegate)(FLootLockerResponse)
Definition LootLockerErrorReportRequestHandler.h:61
void(* FLootLockerDefaultDelegate)(FLootLockerResponse)
Definition LootLockerResponse.h:38
void(* FResponseCallback)(FLootLockerResponse)
Definition LootLockerResponse.h:39
Definition LootLockerSDKManager.h:44
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:2030
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:504
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:388
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:423
static FString RefreshGoogleSession(const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google session.
Definition LootLockerSDKManager.h:278
static FString RefreshGooglePlayGamesSession(const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="", const FLootLockerSessionOptionals &Optionals=FLootLockerSessionOptionals())
Refresh an existing Google Play Games session.
Definition LootLockerSDKManager.h:313
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:348
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.
static FString GetPlayerBanStatus(const FString &PlayerUlid, const FLootLockerBanStatusDelegate &OnCompletedRequest)
Get the ban status for a player.
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:459
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:1189
static FString ListCatalogItems(const FString &CatalogKey, const FLootLockerListCatalogPricesV2ResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List the items available in a specific catalog.
Definition LootLockerSDKManager.h:3198
static FString ListCatalogItemsById(const TArray< FString > &CatalogListingIds, bool IncludeMetadata, const TArray< FString > &MetadataKeys, const FLootLockerListCatalogItemsByIdResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List catalog items by their catalog_listing_ids.
void(* FLootLockerListCatalogItemsByIdResponseDelegate)(FLootLockerListCatalogItemsByIdResponse)
Delegate for ListCatalogItemsById response.
Definition LootLockerCatalogRequestHandler.h:1201
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:1185
void(* FLootLockerListCatalogsResponseDelegate)(FLootLockerListCatalogsResponse)
C++ response delegate for listing catalogs.
Definition LootLockerCatalogRequestHandler.h:1181
static FString ListCatalogItems(const FString &CatalogKey, const FLootLockerListCatalogPricesResponseDelegate &OnComplete, const FString &ForPlayerWithUlid="")
List catalog items (all/default page) for a catalog.
Definition LootLockerSDKManager.h:3171
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:3237
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:172
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:170
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:174
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:168
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:639
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:637
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:635
void(* FLootLockerSubmitScoreResponseDelegate)(FLootLockerSubmitScoreResponse)
C++ response callback delegate; receives an FLootLockerSubmitScoreResponse result.
Definition LootLockerLeaderboardRequestHandler.h:643
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:2992
void(* FLootLockerGetScoreListResponseDelegate)(FLootLockerGetScoreListResponse)
C++ response callback delegate; receives an FLootLockerGetScoreListResponse result.
Definition LootLockerLeaderboardRequestHandler.h:641
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:2854
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:647
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:645
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:3459
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:3439
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:124
static FString CheckConnectionStatus(const FLootLockerConnectionStateDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Check the current connection and session state for a player.
void(* FLootLockerConnectionStateDelegate)(FLootLockerConnectionStateResponse)
C++ response delegate for CheckConnectionStatus.
Definition LootLockerMiscellaneousRequestHandler.h:132
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:128
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 void SetPlayerUlidToActive(const FString &PlayerUlid)
Mark a player's state as active.
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:1022
static bool TryGetNotificationContentBodyAsUStruct(const FLootLockerNotificationContent &Content, T &Output)
Get the content body as a UStruct of your choice.
Definition LootLockerSDKManager.h:2744
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:1026
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 RedeemXboxStorePurchaseForClass(int ClassId, const FString &UserCollectionsId, const FString &ProductId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem a purchase made towards the Xbox Store for a class owned by the player.
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:591
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 FString GetXboxServiceTicket(const FLootLockerXboxServiceTicketDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Get an Xbox service ticket that can be used to redeem an Xbox Store purchase.
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:627
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.
void(* FLootLockerXboxServiceTicketDelegate)(FLootLockerXboxServiceTicketResponse)
C++ response callback delegate; receives an FLootLockerXboxServiceTicketResponse result.
Definition LootLockerPurchasesRequestHandler.h:629
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:589
void(* FLootLockerAsyncPurchaseStatusDelegate)(FLootLockerAsyncPurchaseStatusResponse)
C++ response callback delegate; receives an FLootLockerAsyncPurchaseStatusResponse result.
Definition LootLockerPurchasesRequestHandler.h:565
void(* FLootLockerAsyncPurchaseInitiatedDelegate)(FLootLockerAsyncPurchaseInitiatedResponse)
C++ response callback delegate; receives an FLootLockerAsyncPurchaseInitiatedResponse result.
Definition LootLockerPurchasesRequestHandler.h:563
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 RedeemXboxStorePurchaseForPlayer(const FString &UserCollectionsId, const FString &ProductId, const FLootLockerDefaultDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="")
Redeem a purchase made towards the Xbox Store for the current player.
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:587
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:585
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:753
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:792
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