LootLocker Unreal SDK 10.7.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerMiscellaneousRequestHandler.h File Reference
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "LootLockerResponse.h"
#include "LootLockerPlayerData.h"
#include "JsonObjectConverter.h"
#include "LootLockerMiscellaneousRequestHandler.generated.h"
Include dependency graph for LootLockerMiscellaneousRequestHandler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FLootLockerGameInfo
struct  FLootLockerGameInfoRequest
struct  FLootLockerTimeResponse
struct  FLootLockerGameInfoResponse
struct  FLootLockerConnectionStateResponse
class  ULootLockerMiscellaneousRequestHandler

Typedefs

typedef void(* FTimeResponseDelegate) (FLootLockerTimeResponse)
 C++ response delegate for fetching server time.
typedef void(* FGameInfoResponseDelegate) (FLootLockerGameInfoResponse)
 C++ response delegate for fetching game info.
typedef void(* FLootLockerConnectionStateDelegate) (FLootLockerConnectionStateResponse)
 C++ response delegate for CheckConnectionStatus.

Enumerations

enum class  ELootLockerConnectionState : uint8 {
  NotInitialized , NotSignedIn , SavedButInactive , SignedInAndConnected ,
  SessionExpired , Banned , NoConnection , ServerError
}
 The state of a player's connection and session with the LootLocker backend. More...

Enumeration Type Documentation

◆ ELootLockerConnectionState

enum class ELootLockerConnectionState : uint8
strong

The state of a player's connection and session with the LootLocker backend.

Returned by CheckConnectionStatus.

Enumerator
NotInitialized 

The SDK has not been configured (game API key is not set).

NotSignedIn 

No session token exists in local state for the specified player.

SavedButInactive 

The player has saved credentials on disk but is not currently active in the multi-player session.

Call SetPlayerUlidToActive (or start a new session) to activate them before calling CheckConnectionStatus again.

SignedInAndConnected 

The session token is valid and the server is reachable (ping returned 200).

SessionExpired 

A session token exists but the server returned 401 or 403 and the player is not banned.

Banned 

A session token exists but the player is currently banned.

NoConnection 

The server could not be reached (no network, timeout, or status code 0).

ServerError 

The server returned a 5xx error or an unexpected non-success status code.