Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
Inheritance Hierarchy
- FPersistentStatContainerBase
- FPersistentStatContainer
References
| Module | InstallBundleManager |
| Header | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
| Include | #include "InstallBundleUtils.h" |
Syntax
class FPersistentStatContainerBase
Remarks
Helper class to handle holding a collection of Bundle and Session stats.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShouldAutoHandleFGBGStats | Determines if we should automatically Start,Stop,and Update the _FG and _BG versions of our timer stats. | |
| bool | bShouldAutoUpdateTimersInTick | These settings determine if we auto-update our Timer stats on a tick. | |
| bool | bShouldSaveDirtyStatsOnTick | These settings determine how we handle saving our stats to disk. | |
| float | DirtyStatSaveToDiskRate | ||
| FDelegateHandle | OnApp_EnteringBackgroundHandle | ||
| FDelegateHandle | OnApp_EnteringForegroundHandle | ||
| TMap< FName, FBundlePersistentStats > | PerBundlePersistentStatMap | ||
| TMap< FString, FSessionPersistentStats > | SessionPersistentStatMap | ||
| FTSTicker::FDelegateHandle | TickHandle | ||
| float | TimerAutoUpdateRate | ||
| float | TimerAutoUpdateTimeRemaining | Internal counter used to track when we need to run our timer update during tick. | |
| float | TimerDirtyStatUpdateTimeRemaining | Internal counter used to track when we need to update all of our dirty stats. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FBundlePersistentStats * | GetBundleStat
(
FName BundleName |
||
| const FSessionPersistentStats * | GetSessionStat
(
const FString& SessionName |
||
| void | IncrementBundlePersistentCounter
(
FName BundleName, |
||
| void | IncrementSessionPersistentCounter
(
const FString& SessionName, |
||
| void | NOTE! These 2 functions are not virtual as we call them in the construct/deconstructor! | ||
| void | LoadRequiredBundleDataFromDiskForSession
(
const FString& SessionName |
Goes through this Session's RequiredBundles and loads data from disk for those bundles. | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | OnTimerStartedForStat
(
FPersistentStatsBase& BundleStatForTimer, |
Called whenever we start a timer NOTE: doesn't get called by timer's being Start/Stopped for bShouldAutoHandleFGBGStats | |
| void | OnTimerStoppedForStat
(
FPersistentStatsBase& BundleStatForTimer, |
Called whenever we stop a timer NOTE: doesn't get called by timer's being Start/Stopped for bShouldAutoHandleFGBGStats | |
| void | RemoveBundleStats
(
FName BundleName |
||
| void | RemoveSessionStats
(
const FString& SessionName |
Deletes persistent stat information from our stats for this Session/Bundle to reduce memory useage. | |
| void | |||
| void | |||
| void | |||
| void | ShutdownBase () |
||
| void | StartBundlePersistentStatTimer
(
FName BundleName, |
||
| void | StartBundlePersistentStatTracking
(
FName BundleName, |
Starts Bundle Persistent Stat Tracking for the given BundleName. | |
| void | StartSessionPersistentStatTimer
(
const FString& SessionName, |
||
| void | StartSessionPersistentStatTracking
(
const FString& SessionName, |
Starts Session Persistent Stat Tracking under the given SessionName. | |
| void | StopBundlePersistentStatTimer
(
FName BundleName, |
||
| void | StopBundlePersistentStatTracking
(
FName BundleName, |
||
| void | StopSessionPersistentStatTimer
(
const FString& SessionName, |
||
| void | StopSessionPersistentStatTracking
(
const FString& SessionName, |
||
| bool | Tick
(
float dt |
||
| void | |||
| void | |||
| void | UpdateBundlePersistentStatTimer
(
FName BundleName, |
||
| void | UpdateSessionPersistentStatTimer
(
const FString& SessionName, |
||
| void | UpdateStatsForBackground
(
FPersistentStatsBase& StatToUpdate |
Stops active foreground timers when going to background and starts applicable background version Also increments background counters | |
| void | UpdateStatsForForeground
(
FPersistentStatsBase& StatToUpdate |
Stops active background timers and resumes applicable foreground timers Also increments foreground counters |