![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AnalyticsET.h>
Public Member Functions | |
| Config ()=default | |
| Config (FString InAPIKeyET, FString InAPIServerET, FString InAppVersionET=FString(), bool InUseLegacyProtocol=false, FString InAppEnvironment=FString(), FString InUploadType=FString(), TArray< FString > InAltApiServers=TArray< FString >(), float InFlushIntervalSec=-1.f, int32 InMaximumPayloadSize=-1, int32 InPreallocatedPayloadSize=-1) | |
Static Public Member Functions | |
| static FString | GetKeyNameForAPIKey () |
| static FString | GetKeyNameForAPIServer () |
| static FString | GetKeyNameForAPIEndpoint () |
| static FString | GetKeyNameForAPIUnixSocketPath () |
| static FString | GetKeyNameForAppVersion () |
| static FString | GetKeyNameForUseLegacyProtocol () |
| static FString | GetKeyNameForAppEnvironment () |
| static FString | GetKeyNameForUploadType () |
| static FString | GetDefaultAppEnvironment () |
| static FString | GetDefaultUploadType () |
| static FString | GetDefaultAPIEndpoint () |
Public Attributes | |
| FString | APIKeyET |
| FString | APIServerET |
| FString | APIEndpointET |
| FString | APIUnixSocketPathET |
| TArray< FString > | AltAPIServersET |
| FString | AppVersionET |
| bool | UseLegacyProtocol = false |
| bool | bDropEventsOnFlushFailure = true |
| FString | AppEnvironment |
| FString | UploadType |
| uint32 | RetryLimitCount = 0 |
| float | FlushIntervalSec = -1.f |
| int32 | MaximumPayloadSize = -1 |
| int32 | PreallocatedPayloadSize = -1 |
Defines required configuration values for ET analytics provider. APIKeyET MUST be set. Set APIServerET to an empty string to create a "NULL" analytics provider that will be a valid instance but will suppress sending any events.
|
default |
Default ctor to ensure all values have their proper default.
|
inline |
Ctor exposing common configurables .
|
inlinestatic |
Default value if no APIEndpoint is given.
|
inlinestatic |
Default value if no APIServer configuration is provided.
|
inlinestatic |
Default value if no UploadType is given, and UseDataRouter protocol is specified.
|
inlinestatic |
KeyName required for APIEndpoint configuration.
|
inlinestatic |
KeyName required for APIKey configuration.
|
inlinestatic |
KeyName required for APIServer configuration.
|
inlinestatic |
KeyName required for APIEndpoint configuration.
|
inlinestatic |
For the the data router backend protocol.
|
inlinestatic |
KeyName required for AppVersion configuration.
|
inlinestatic |
For the the data router backend protocol.
|
inlinestatic |
Optional parameter to use the legacy backend protocol.
| TArray<FString> FAnalyticsET::Config::AltAPIServersET |
ET Alt API Servers - Base URLs to send events on retry.
| FString FAnalyticsET::Config::APIEndpointET |
ET API Endpoint - This is the API endpoint for the provider.
| FString FAnalyticsET::Config::APIKeyET |
ET APIKey - Get from your account manager
| FString FAnalyticsET::Config::APIServerET |
ET API Server - Base URL to send events. Set this to an empty string to essentially create a NULL analytics provider that will be non-null, but won't actually send events.
| FString FAnalyticsET::Config::APIUnixSocketPathET |
ET API UnixSocketPath - This is the UnixSocketPath to use as the target for the API endpoint for the provider.
| FString FAnalyticsET::Config::AppEnvironment |
The AppEnvironment that the data router should use. Defaults to GetDefaultAppEnvironment.
| FString FAnalyticsET::Config::AppVersionET |
AppVersion - defines the app version passed to the provider. By default this will be FEngineVersion::Current(), but you can supply your own. As a convenience, you can use -AnalyticsAppVersion=XXX to force the AppVersion to a specific value. Useful for playtest etc where you want to define a specific version string dynamically. If you supply your own Version string, occurrences of "%VERSION%" are replaced with FEngineVersion::Current(). ie, -AnalyticsAppVersion=MyCustomID-VERSION%.
When true (default), events are dropped if flush fails
| float FAnalyticsET::Config::FlushIntervalSec = -1.f |
Maximum time to elapse before forcing events to be flushed. Use a negative value to use the defaults (60 sec).
| int32 FAnalyticsET::Config::MaximumPayloadSize = -1 |
Maximum size a payload can reach before we force a flush of the payload. Use a negative value to use the defaults. See FAnalyticsProviderETEventCache.
| int32 FAnalyticsET::Config::PreallocatedPayloadSize = -1 |
We preallocate a payload. It defaults to the Maximum configured payload size (see FAnalyticsProviderETEventCache). Use a negative value use the default. See FAnalyticsProviderETEventCache.
| uint32 FAnalyticsET::Config::RetryLimitCount = 0 |
Maximum number of retries to attempt.
| FString FAnalyticsET::Config::UploadType |
The UploadType that the data router should use. Defaults to GetDefaultUploadType.
When true, sends events using the legacy ET protocol that passes all attributes as URL parameters. Defaults to false.