Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
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
| Name | FPersistentStatsBase |
| Type | class |
| Header File | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
| Include Path | #include "InstallBundleUtils.h" |
Syntax
class FPersistentStatsBase : public FJsonSerializable
Inheritance Hierarchy
- FJsonSerializable → FPersistentStatsBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPersistentStatsBase() |
Protected so we can only construct the derived versions of this Base class. | InstallBundleUtils.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPersistentStatsBase() |
InstallBundleUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const int * GetCountStatData
(
ECountStatNames StatToGet |
InstallBundleUtils.h | ||
const FString GetFullPathForStatFile () |
Pure Virtual Methods. | InstallBundleUtils.h | |
const FPersistentTimerData * GetTimingStatData
(
ETimingStatNames StatToGet |
InstallBundleUtils.h | ||
bool HasCountStat
(
ECountStatNames StatToCheck |
InstallBundleUtils.h | ||
bool HasTimingStat
(
ETimingStatNames StatToCheck |
InstallBundleUtils.h | ||
void IncrementCountStat
(
PersistentStats::ECountStatNames StatToUpdate |
InstallBundleUtils.h | ||
bool IsActive() |
InstallBundleUtils.h | ||
bool IsDirty() |
InstallBundleUtils.h | ||
bool IsTimingStatStarted
(
ETimingStatNames StatToUpdate |
InstallBundleUtils.h | ||
BEGIN_JSON_SERIALIZER JSON_SERIALIZE
(
"AnalyticsSessionID", |
We should not ever really be serializing this base class. Kept it here for reference. | InstallBundleUtils.h | |
JSON_SERIALIZE_MAP
(
"CountStats", |
InstallBundleUtils.h | ||
JSON_SERIALIZE_MAP_SERIALIZABLE
(
"TimingStats", |
InstallBundleUtils.h | ||
bool LoadStatsFromDisk () |
Function that allows you to load stats from disk. | InstallBundleUtils.h | |
bool SaveStatsToDisk() |
Saves the persistent stat data to disk in the location returned by GetFullPathForStatFile() Returns True if that save succeeds and false otherwise. | InstallBundleUtils.h | |
void StartTimingStat
(
ETimingStatNames StatToUpdate |
InstallBundleUtils.h | ||
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. | InstallBundleUtils.h | |
void StatsEnd
(
bool bStopAllActiveTimers |
Tries to set this stat pool as "inactive". | InstallBundleUtils.h | |
void StopAllActiveTimers() |
InstallBundleUtils.h | ||
void StopTimingStat
(
ETimingStatNames StatToUpdate, |
InstallBundleUtils.h | ||
void UpdateAllActiveTimers() |
InstallBundleUtils.h | ||
void UpdateTimingStat
(
ETimingStatNames StatToUpdate |
InstallBundleUtils.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleTimerStatsAfterDataLoad() |
Helper to try and reconcile offline and active timers after we load data from disk. | InstallBundleUtils.h | |
void OnLoadingDataFromDisk () |
Called after we load data but before we process any of it. | InstallBundleUtils.h | |
void ResetStats
(
const FString& NewAnalyticsSessionID |
InstallBundleUtils.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString GetBaseExpectedAnalyticsID () |
Static Methods. | InstallBundleUtils.h |