5#include "CoreMinimal.h"
19 FString RequestId = TEXT(
"");
26 FString ForPlayerUlid = TEXT(
"");
29 FString Endpoint = TEXT(
"");
32 FString Verb = TEXT(
"");
35 FString Body = TEXT(
"");
54 int32 TimesRetried = 0;
60 double RequestStartTime = 0.0;
67 FDateTime RequestStartDateTime = FDateTime(0);
73 bool HaveListenersBeenInvoked =
false;
78 bool bIsFileUpload =
false;
81 FString FilePath = TEXT(
"");
104 return !(*
this == Other);
Captures everything needed to dispatch — and later retry — a single SDK HTTP request.
Definition LootLockerHTTPRequestData.h:15
FLootLockerPlayerData PlayerData
Player session data used for auth-token injection and session-refresh decisions.
Definition LootLockerHTTPRequestData.h:44
TMap< FString, FString > AdditionalFields
Additional form-data fields to include alongside the file (only used when bIsFileUpload is true).
Definition LootLockerHTTPRequestData.h:84
TArray< FResponseCallback > Listeners
Registered completion callbacks.
Definition LootLockerHTTPRequestData.h:51
void CallListenersWithResult(const FLootLockerResponse &Response)
Invokes every registered Listener with the supplied Response.
bool operator==(const FLootLockerHTTPRequestData &Other) const
Definition LootLockerHTTPRequestData.h:97
FString RequestId
Unique identifier for this request.
Definition LootLockerHTTPRequestData.h:19
TMap< FString, FString > ExtraHeaders
Additional headers to merge on top of the SDK defaults for this request.
Definition LootLockerHTTPRequestData.h:38
bool operator!=(const FLootLockerHTTPRequestData &Other) const
Definition LootLockerHTTPRequestData.h:102
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19