![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <EngineAnalyticsSessionSummary.h>
Public Member Functions | |
| ENGINE_API | FEngineAnalyticsSessionSummary (TSharedPtr< IAnalyticsPropertyStore > Storage, uint32 MonitorProcessId) |
| virtual | ~FEngineAnalyticsSessionSummary ()=default |
| ENGINE_API void | Tick (float DeltaTime) |
| ENGINE_API void | Shutdown () |
| void | SetPersistPeriod (const FTimespan &Period) |
| FTimespan | GetPersistPeriod () const |
| ENGINE_API void | LowDriveSpaceDetected () |
Protected Member Functions | |
| virtual void | ShutdownInternal () |
| virtual bool | UpdateSessionProgressInternal (bool bCrashing) |
| IAnalyticsPropertyStore * | GetStore () |
Collects engine events/stats and stores a summary on disk until reported by the analytics session summary manager.
| FEngineAnalyticsSessionSummary::FEngineAnalyticsSessionSummary | ( | TSharedPtr< IAnalyticsPropertyStore > | Storage, |
| uint32 | MonitorProcessId | ||
| ) |
Constructs an analytics summary collector.
| Storage | Where to store the engine summary properties that are sent on exit. |
| MonitorProcessId | The process ID of CRC launched at start up in 'monitor mode', zero otherwise. |
|
virtualdefault |
Destructor.
|
inline |
Get the period used to update and persist the properties to disk.
|
inlineprotected |
Returns the property store used by the summary.
| void FEngineAnalyticsSessionSummary::LowDriveSpaceDetected | ( | ) |
Invoked by the engine when the user is running low on disk space..
Set the period used to persist the properties to disk. Some events ignore this setting and persist the properties right away.
| void FEngineAnalyticsSessionSummary::Shutdown | ( | ) |
Shuts down the session, unregistering the callbacks and closing the session.
Invoked during Shutdown() to let derived classes hook in the shutdown. Default implementation does nothing.
Ticks the session. This calls UpdateSessionProgress() at the configured update period which calls UpdateSessionProgressInternal() for derived classes.
|
inlineprotectedvirtual |
Invoked during UpdateSessionProgress() to let derived classes hook in the update. Default implementation does nothing. Returns true to force persisting the properties to disk now.