![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Analytics.h>
Public Member Functions | |
| ConfigFromIni () | |
| ConfigFromIni (EAnalyticsBuildType InBuildType) | |
| ConfigFromIni (const FString &InIniName, const FString &InSectionName) | |
| ConfigFromIni (const FString &InIniName, const FString &SectionNameDevelopment, const FString &SectionNameDebug, const FString &SectionNameTest, const FString &SectionNameRelease) | |
| FString | GetValue (const FString &KeyName, bool bIsRequired) const |
| void | SetSectionNameByBuildType (EAnalyticsBuildType InBuildType) |
Static Public Member Functions | |
| static FName | GetDefaultProviderModuleName () |
Public Attributes | |
| FString | IniName |
| FString | SectionName |
A common way of configuring is from Inis, so this class supports that notion directly by providing a configuration class with a method suitable to be used as an FAnalyticsProviderConfigurationDelegate that reads values from the specified ini and section (based on the BuildType). Also provides a default location to store a provider name, accessed via GetDefaultProviderModuleName().
|
inline |
Create a config using the default values: IniName - GEngineIni SectionName (Development) = AnalyticsDevelopment SectionName (Debug) = AnalyticsDebug SectionName (Test) = AnalyticsTest SectionName (Release) = Analytics
|
inlineexplicit |
Create a config AS IF the BuildType matches the one passed in.
|
inline |
Create a config, specifying the Ini name and a single section name for all build types.
|
inline |
Create a config, specifying the Ini name and the section name for each build type.
Reads the ProviderModuleName key from the Analytics section of GEngineIni, which is the default, preferred location to look for the analytics provider name. This is purely optional, and you can store that information anywhere you want or merely hardcode the provider module.
|
inline |
Method that can be bound to an FAnalyticsProviderConfigurationDelegate.
|
inline |
Allows setting the INI section name based on the build type passed in. Allows access to the default section values when the application chooses the build type itself.
| FString FAnalytics::ConfigFromIni::IniName |
Ini file name to find the config values.
| FString FAnalytics::ConfigFromIni::SectionName |
Section name in the Ini file in which to find the keys. The KeyNames should match the field name in the Config object.