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. | |
| FString | Referral_code = "" |
| The referral code of the player who invited this player, which is the referrer's public UID. | |
| FString | Referral_program_key = "" |
| The key of the referral program the code redeems. | |
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.
|
inline |
| 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.
| 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.
| FString FLootLockerSessionOptionals::Player_name = "" |
The name of the player (same as set by SetPlayerName).
If not supplied, will be left blank.
| FString FLootLockerSessionOptionals::Referral_code = "" |
The referral code of the player who invited this player, which is the referrer's public UID.
Supply this when starting a first session to attribute the referral. Ignored for returning players.
| FString FLootLockerSessionOptionals::Referral_program_key = "" |
The key of the referral program the code redeems.
Leave empty when the game has a single active program.
| FString FLootLockerSessionOptionals::Timezone = "" |
Timezone in IANA format.
If not supplied, will be set to UTC.