5#include "CoreMinimal.h"
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
FString Body
JSON body string.
Definition LootLockerHTTPRequestData.h:35
TMap< FString, FString > AdditionalFields
Additional form-data fields to include alongside the file (only used when bIsFileUpload is true).
Definition LootLockerHTTPRequestData.h:84
double RequestStartTime
Wall-clock time (FPlatformTime::Seconds()) when the request was first submitted to the queue.
Definition LootLockerHTTPRequestData.h:60
bool bIsFileUpload
True when this request represents a file upload rather than a JSON call.
Definition LootLockerHTTPRequestData.h:78
FString FilePath
Absolute path to the file to upload (only used when bIsFileUpload is true).
Definition LootLockerHTTPRequestData.h:81
bool HaveListenersBeenInvoked
True once all Listeners have been invoked via CallListenersWithResult().
Definition LootLockerHTTPRequestData.h:73
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
int32 TimesRetried
Number of retry attempts made for this request so far.
Definition LootLockerHTTPRequestData.h:54
FString RequestId
Unique identifier for this request.
Definition LootLockerHTTPRequestData.h:19
FDateTime RequestStartDateTime
UTC calendar time when the request was first submitted to the queue.
Definition LootLockerHTTPRequestData.h:67
FString ForPlayerUlid
ULID of the player this request is being made on behalf of.
Definition LootLockerHTTPRequestData.h:26
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
FString Endpoint
Fully-formed URL endpoint (before any run-time query-param appending).
Definition LootLockerHTTPRequestData.h:29
FString Verb
HTTP verb ("GET", "POST", "PUT", "PATCH", "DELETE", …).
Definition LootLockerHTTPRequestData.h:32
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19