#include <LootLockerConfig.h>
◆ ULootLockerConfig()
| ULootLockerConfig::ULootLockerConfig |
( |
| ) |
|
◆ DisableFileLogging()
| static void ULootLockerConfig::DisableFileLogging |
( |
| ) |
|
|
static |
◆ EnableFileLogging()
| static void ULootLockerConfig::EnableFileLogging |
( |
const FString & |
FileName | ) |
|
|
static |
Enables file logging to the specified file name.
- Parameters
-
| FileName | The log file name (relative to project log dir). |
◆ GetConfiguredLogLevel()
| static ELootLockerLogLevel ULootLockerConfig::GetConfiguredLogLevel |
( |
| ) |
|
|
inlinestatic |
◆ GetLogFilePath()
| static FString ULootLockerConfig::GetLogFilePath |
( |
| ) |
|
|
static |
Returns the current log file path (may be empty if not enabled).
◆ GetRuntimeLogLevel()
| static ELootLockerLogLevel ULootLockerConfig::GetRuntimeLogLevel |
( |
| ) |
|
|
static |
Gets the current runtime log level (runtime override or config).
◆ IsFileLoggingEnabled()
| static bool ULootLockerConfig::IsFileLoggingEnabled |
( |
| ) |
|
|
static |
Returns true if file logging is enabled and a log file name is set.
◆ IsPresenceAutoConnectEnabled()
| static bool ULootLockerConfig::IsPresenceAutoConnectEnabled |
( |
| ) |
|
|
static |
Check if auto-connect is enabled for presence.
◆ IsPresenceAutoDisconnectOnFocusChangeEnabled()
| static bool ULootLockerConfig::IsPresenceAutoDisconnectOnFocusChangeEnabled |
( |
| ) |
|
|
static |
Check if auto-disconnect on focus change is enabled.
◆ IsPresenceEnabled()
| static bool ULootLockerConfig::IsPresenceEnabled |
( |
| ) |
|
|
static |
Check if presence system is enabled globally.
◆ IsPresenceEnabledInEditor()
| static bool ULootLockerConfig::IsPresenceEnabledInEditor |
( |
| ) |
|
|
static |
Check if presence is enabled in the editor.
◆ IsSemverString()
| static bool ULootLockerConfig::IsSemverString |
( |
const FString & |
str | ) |
|
|
inlinestatic |
◆ PostInitProperties()
| virtual void ULootLockerConfig::PostInitProperties |
( |
| ) |
|
|
inlineoverridevirtual |
◆ SetRuntimeLogLevel()
| static void ULootLockerConfig::SetRuntimeLogLevel |
( |
ELootLockerLogLevel |
NewLevel | ) |
|
|
static |
Sets the log level at runtime (not persisted).
- Parameters
-
| NewLevel | The new log level to use for this session. |
◆ ShouldLog()
| static bool ULootLockerConfig::ShouldLog |
( |
| ) |
|
|
inlinestatic |
◆ AllowTokenRefresh
| bool ULootLockerConfig::AllowTokenRefresh = true |
◆ bEnableFileLogging
| bool ULootLockerConfig::bEnableFileLogging = false |
◆ bEnablePresence
| bool ULootLockerConfig::bEnablePresence = false |
Enable or disable the entire Presence system globally.
◆ bEnablePresenceAutoConnect
| bool ULootLockerConfig::bEnablePresenceAutoConnect = true |
Whether to automatically connect presence when sessions are established.
◆ bEnablePresenceAutoDisconnectOnFocusChange
| bool ULootLockerConfig::bEnablePresenceAutoDisconnectOnFocusChange = true |
Whether to automatically disconnect presence when the application loses focus or goes to background.
◆ bEnablePresenceInEditor
| bool ULootLockerConfig::bEnablePresenceInEditor = true |
Enable presence features in the editor (for testing purposes)
◆ bUseLegacyHTTPStack
| bool ULootLockerConfig::bUseLegacyHTTPStack = false |
When true, HTTP requests are routed through the legacy ULootLockerHttpClient stack instead of the new FLootLockerHTTPExecutionQueue.
Use this as a temporary escape hatch if you encounter issues with the new queue. This setting has no effect when the project is compiled with LOOTLOCKER_FORCE_LEGACY_HTTP_STACK=1 (which always uses the legacy stack regardless of this value). This option will be removed once the execution queue is declared stable.
◆ DomainKey
| FString ULootLockerConfig::DomainKey = "" |
◆ GameVersion
| FString ULootLockerConfig::GameVersion = "" |
◆ InvalidGameVersionWarning
| FString ULootLockerConfig::InvalidGameVersionWarning = "Game version needs to follow a numeric Semantic Versioning pattern: X.Y.Z.B with the sections denoting MAJOR.MINOR.PATCH.BUILD and the last two being optional. Read more at https://docs.lootlocker.com/the-basics/core-concepts/glossary#game-version" |
◆ LogFileName
| FString ULootLockerConfig::LogFileName = TEXT("LootLockerLog") |
◆ LogOutsideOfEditor
| bool ULootLockerConfig::LogOutsideOfEditor = false |
Allow LootLocker to log non error logs outside the editor. This is false by default to avoid log spamming and unintentional logging of data (as LootLocker logs requests and responses vs LootLocker).
◆ LongLogFilePath
| FString ULootLockerConfig::LongLogFilePath = "" |
◆ LootLockerGameKey
| FString ULootLockerConfig::LootLockerGameKey = "" |
◆ LootLockerLogLevel
| ELootLockerLogLevel ULootLockerConfig::LootLockerLogLevel |
◆ OnConfigurationUpdated
◆ OutdatedSDKWarning
| FString ULootLockerConfig::OutdatedSDKWarning = "This version of LootLocker is no longer updated through fab because of fab guidelines. Please use GitHub releases to update: https://github.com/lootlocker/unreal-sdk/releases" |