LootLocker Unreal SDK 10.5.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerFileConfig Struct Reference

Data struct for the pre-configured file config, loaded at startup from the "<PackageName>PreConfig[-<identifier>].bytes" file in the plugin's Config directory. More...

#include <LootLockerFileConfig.h>

Data Fields

FString api_key
 
FString domain_key
 
FString game_version = TEXT("1.0.0.0")
 
bool allow_token_refresh = true
 
bool log_outside_of_editor = false
 
FString log_level = TEXT("Warning")
 Enum name string: "Error"|"Warning"|"Display"|"Verbose"|"VeryVerbose"|"NoLogging".
 
bool enable_file_logging = false
 
bool enable_presence = false
 
bool enable_presence_auto_connect = true
 
bool enable_presence_auto_disconnect_on_focus_change = true
 
bool enable_presence_in_editor = true
 
FString multi_user_session_mode = TEXT("NotSet")
 Enum name string: "Hotseat"|"SingleSession"|"ProfileSwitching".
 
bool use_legacy_http_stack = false
 

Detailed Description

Data struct for the pre-configured file config, loaded at startup from the "<PackageName>PreConfig[-<identifier>].bytes" file in the plugin's Config directory.

When present and containing a non-empty api_key, it overrides DefaultGame.ini settings and locks the editor UI to prevent drift.

The file supports plain JSON or AES-256-ECB + PKCS7 + Base64 encrypted content. Plain JSON is recommended during development; encrypted files should be used for distribution.

Build-time flags (enable_google_subsystem_helper, etc.) live in the optional "build_flags" JSON section and are consumed only by Build.cs at compile time — not at runtime.

Supported JSON fields: api_key (string, required — empty or missing means "inactive") domain_key (string) game_version (string, default "1.0.0.0") allow_token_refresh (bool, default true) log_outside_of_editor (bool, default false) log_level (string: "Error"|"Warning"|"Display"|"Verbose"|"VeryVerbose"|"NoLogging", default "Warning") enable_file_logging (bool, default false) enable_presence (bool, default false) enable_presence_auto_connect (bool, default true) enable_presence_auto_disconnect_on_focus_change (bool, default true) enable_presence_in_editor (bool, default true) multi_user_session_mode (string: "Hotseat"|"SingleSession"|"ProfileSwitching"|"NotSet", default "NotSet" is internal and will be resolved at first launch") use_legacy_http_stack (bool, default false)

Build-time only (parsed by Build.cs, ignored at runtime): build_flags.enable_google_subsystem_helper (bool) build_flags.show_outdated_sdk_message (bool) build_flags.enable_beta_error_reporting (bool) build_flags.force_legacy_http_stack (bool)

Field Documentation

◆ allow_token_refresh

bool FLootLockerFileConfig::allow_token_refresh = true

◆ api_key

FString FLootLockerFileConfig::api_key

◆ domain_key

FString FLootLockerFileConfig::domain_key

◆ enable_file_logging

bool FLootLockerFileConfig::enable_file_logging = false

◆ enable_presence

bool FLootLockerFileConfig::enable_presence = false

◆ enable_presence_auto_connect

bool FLootLockerFileConfig::enable_presence_auto_connect = true

◆ enable_presence_auto_disconnect_on_focus_change

bool FLootLockerFileConfig::enable_presence_auto_disconnect_on_focus_change = true

◆ enable_presence_in_editor

bool FLootLockerFileConfig::enable_presence_in_editor = true

◆ game_version

FString FLootLockerFileConfig::game_version = TEXT("1.0.0.0")

◆ log_level

FString FLootLockerFileConfig::log_level = TEXT("Warning")

Enum name string: "Error"|"Warning"|"Display"|"Verbose"|"VeryVerbose"|"NoLogging".

◆ log_outside_of_editor

bool FLootLockerFileConfig::log_outside_of_editor = false

◆ multi_user_session_mode

FString FLootLockerFileConfig::multi_user_session_mode = TEXT("NotSet")

Enum name string: "Hotseat"|"SingleSession"|"ProfileSwitching".

Default "NotSet" means "do not override".

◆ use_legacy_http_stack

bool FLootLockerFileConfig::use_legacy_http_stack = false