#include <LootLockerServerConfig.h>
|
| static const FString | PreConfigFileName |
| | Filename of the pre-config file that the SDK looks for in the plugin's Config directory.
|
| |
◆ DisableFileLogging()
| static void ULootLockerServerConfig::DisableFileLogging |
( |
| ) |
|
|
static |
◆ EnableFileLogging()
| static void ULootLockerServerConfig::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 ELootLockerServerLogLevel ULootLockerServerConfig::GetConfiguredLogLevel |
( |
| ) |
|
|
inlinestatic |
◆ GetLogFilePath()
| static FString ULootLockerServerConfig::GetLogFilePath |
( |
| ) |
|
|
static |
Returns the current log file path (may be empty if not enabled).
◆ GetRuntimeLogLevel()
| static ELootLockerServerLogLevel ULootLockerServerConfig::GetRuntimeLogLevel |
( |
| ) |
|
|
static |
Gets the current runtime log level (runtime override or config).
◆ IsFileConfigActive()
| static bool ULootLockerServerConfig::IsFileConfigActive |
( |
| ) |
|
|
static |
Returns true when a pre-configured file config is active and governing settings.
When true, the Project Settings panel is locked to prevent drift from the file config.
◆ IsFileLoggingEnabled()
| static bool ULootLockerServerConfig::IsFileLoggingEnabled |
( |
| ) |
|
|
static |
Returns true if file logging is enabled and a log file name is set.
◆ ParseFileConfigContent()
Parses a pre-config file's raw content (plain JSON or encrypted) into an FLootLockerServerFileConfig.
Returns an empty TOptional when content is invalid or api_key is missing/empty. Exposed publicly so unit tests can call it without needing a real plugin on disk.
◆ SetRuntimeLogLevel()
| static void ULootLockerServerConfig::SetRuntimeLogLevel |
( |
ELootLockerServerLogLevel |
NewLevel | ) |
|
|
static |
Sets the log level at runtime (not persisted).
- Parameters
-
| NewLevel | The new log level to use for this session. |
◆ bEnableFileLogging
| bool ULootLockerServerConfig::bEnableFileLogging = false |
◆ FileConfigActiveNotice
| FString ULootLockerServerConfig::FileConfigActiveNotice = "Settings are governed by the pre-configured file config shipped with the plugin and cannot be changed from the editor." |
◆ GameVersion
| FString ULootLockerServerConfig::GameVersion = "" |
◆ InvalidGameVersionWarning
| FString ULootLockerServerConfig::InvalidGameVersionWarning = "" |
◆ LegacyKeyWarning
| FString ULootLockerServerConfig::LegacyKeyWarning = "You are using a legacy API Key, please generate a new one here: https://console.lootlocker.com/settings/api-keys" |
◆ LimitLogLevelTo
| ELootLockerServerLogLevel ULootLockerServerConfig::LimitLogLevelTo = ELootLockerServerLogLevel::Warning |
◆ LogFileName
| FString ULootLockerServerConfig::LogFileName = TEXT("LootLockerServerLog") |
◆ LogOutsideOfEditor
| bool ULootLockerServerConfig::LogOutsideOfEditor = false |
◆ LongLogFilePath
| FString ULootLockerServerConfig::LongLogFilePath = "" |
◆ LootLockerDomainKey
| FString ULootLockerServerConfig::LootLockerDomainKey = "" |
◆ LootLockerServerKey
| FString ULootLockerServerConfig::LootLockerServerKey = "" |
◆ LootLockerVersion
| FString ULootLockerServerConfig::LootLockerVersion = "2021-06-01" |
◆ PreConfigFileName
| const FString ULootLockerServerConfig::PreConfigFileName |
|
static |
Filename of the pre-config file that the SDK looks for in the plugin's Config directory.
Default: "LootLockerServerPreConfig.bytes"