LootLocker Unreal SDK 10.7.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerSessionOptionals Struct Reference

Optional parameters that can be sent when starting a session. More...

#include <LootLockerSessionOptionals.h>

Public Member Functions

bool IsSet () const

Data Fields

FString Timezone = ""
 Timezone in IANA format.
FString Player_name = ""
 The name of the player (same as set by SetPlayerName).
bool Auto_create_profile = true
 Whether to automatically create a profile for the player if one does not exist.
bool Check_dlc = false
 Whether the client reports owning DLC for this player.

Detailed Description

Optional parameters that can be sent when starting a session.

These are a collection of configuration options relating to the player whom the session is being started for.

Member Function Documentation

◆ IsSet()

bool FLootLockerSessionOptionals::IsSet ( ) const
inline

Field Documentation

◆ Auto_create_profile

bool FLootLockerSessionOptionals::Auto_create_profile = true

Whether to automatically create a profile for the player if one does not exist.

Defaults to true.

Set to false if you want to ensure that a profile is not created for the player if one does not exist. In this case, the session will fail with a 404 Player Not Found error if the player does not have a profile.

◆ Check_dlc

bool FLootLockerSessionOptionals::Check_dlc = false

Whether the client reports owning DLC for this player.

Set to true to have LootLocker reconcile DLC ownership when the session starts. Defaults to false, in which case DLC ownership is only reconciled if the player already has DLC entitlements.

◆ Player_name

FString FLootLockerSessionOptionals::Player_name = ""

The name of the player (same as set by SetPlayerName).

If not supplied, will be left blank.

◆ Timezone

FString FLootLockerSessionOptionals::Timezone = ""

Timezone in IANA format.

If not supplied, will be set to UTC.