LootLocker Unity SDK 8.2.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
LootLocker.Requests.LootLockerSessionOptionals Class Reference

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

Properties

string timezone = null [get, set]
 Timezone in IANA format.
 
string player_name = null [get, set]
 The name of the player (same as set by SetPlayerName).
 
bool auto_create_profile = true [get, set]
 Whether to automatically create a profile for the player if one does not exist.
 

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.

Property Documentation

◆ auto_create_profile

bool LootLocker.Requests.LootLockerSessionOptionals.auto_create_profile = true
getset

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.

◆ player_name

string LootLocker.Requests.LootLockerSessionOptionals.player_name = null
getset

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

If not supplied, will be left blank.

◆ timezone

string LootLocker.Requests.LootLockerSessionOptionals.timezone = null
getset

Timezone in IANA format.

If not supplied, will be set to UTC.