Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
Inheritance Hierarchy
- FJsonSerializable
- FPersistentStatsBase
- FBundlePersistentStats
- FSessionPersistentStats
References
| Module | InstallBundleManager |
| Header | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
| Include | #include "InstallBundleUtils.h" |
Syntax
class FPersistentStatsBase : public FJsonSerializable
Remarks
Both ContentRequests and Individual Bundles use this to track data respective to themselves. Keeps us from having to write serialization / loading data for both cases that would be the same
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | AnalyticsSessionID | ||
| bool | bHasLoadedFromDisk | ||
| bool | bIsActive | We don't serialize these as they are tracking behavior and not stats. | |
| bool | bIsDirty | ||
| TMap< FString, int > | CountStatMap | ||
| TMap< FString, FPersistentTimerData > | TimingStatsMap | Serialized Stat Data. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Protected so we can only construct the derived versions of this Base class. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString | Static Methods. | ||
| const int * | GetCountStatData
(
ECountStatNames StatToGet |
||
| const FString | Pure Virtual Methods. | ||
| const FPersistentTimerData * | GetTimingStatData
(
ETimingStatNames StatToGet |
||
| void | Helper to try and reconcile offline and active timers after we load data from disk. | ||
| bool | HasCountStat
(
ECountStatNames StatToCheck |
||
| bool | HasTimingStat
(
ETimingStatNames StatToCheck |
||
| void | IncrementCountStat
(
PersistentStats::ECountStatNames StatToUpdate |
||
| bool | IsActive () |
||
| bool | IsDirty () |
||
| bool | IsTimingStatStarted
(
ETimingStatNames StatToUpdate |
||
| bool | Function that allows you to load stats from disk. | ||
| void | Called after we load data but before we process any of it. | ||
| void | ResetStats
(
const FString& NewAnalyticsSessionID |
||
| bool | Saves the persistent stat data to disk in the location returned by GetFullPathForStatFile() Returns True if that save succeeds and false otherwise. | ||
| void | StartTimingStat
(
ETimingStatNames StatToUpdate |
||
| void | StatsBegin
(
const FString& ExpectedAnalyticsID, |
Tries to load persistent stats from disk and determine if we need to resume our previous persistent session or start a new one. | |
| void | StatsEnd
(
bool bStopAllActiveTimers |
Tries to set this stat pool as "inactive". | |
| void | |||
| void | StopTimingStat
(
ETimingStatNames StatToUpdate, |
||
| void | |||
| void | UpdateTimingStat
(
ETimingStatNames StatToUpdate |
Overridden from FJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| void | Serialize
(
FJsonSerializerBase& Serializer, |
We should not ever really be serializing this base class. Kept it here for reference. |