Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
Tracks a set of bundles and stats for a named session. This way you can have stats across multiple bundle installs grouped by some naming convention.
| Name | FSessionPersistentStats |
| Type | class |
| Header File | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h |
| Include Path | #include "InstallBundleUtils.h" |
Syntax
class FSessionPersistentStats : public InstallBundleUtil::PersistentStats::FPersistentStatsBase
Inheritance Hierarchy
- FJsonSerializable → FPersistentStatsBase → FSessionPersistentStats
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Remove default constructor as we require a ContentRequestName in the constructor. | InstallBundleUtils.h | ||
FSessionPersistentStats
(
const FString& ContentRequestNameIn |
InstallBundleUtils.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSessionPersistentStats() |
InstallBundleUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RequiredBundles | TArray< FString > | Used to keep track of all bundles that are part of this content request. | InstallBundleUtils.h | |
| SessionName | FString | Used in our full path and should signify some identifier for a given ContentRequest. | InstallBundleUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRequiredBundles
(
const TArray< FString >& RequiredBundlesToAdd |
InstallBundleUtils.h | ||
void AddRequiredBundles
(
const TArray< FName >& RequiredBundlesToAdd |
InstallBundleUtils.h | ||
void GetRequiredBundles
(
TArray< FString >& OutRequiredBundles |
Populates the passed in TArray with all the required bundles' names. | InstallBundleUtils.h | |
BEGIN_JSON_SERIALIZER JSON_SERIALIZE
(
"SessionName", |
InstallBundleUtils.h | ||
JSON_SERIALIZE
(
"AnalyticsSessionID", |
InstallBundleUtils.h | ||
JSON_SERIALIZE_ARRAY
(
"RequiredBundles", |
InstallBundleUtils.h | ||
JSON_SERIALIZE_MAP
(
"CountStats", |
InstallBundleUtils.h | ||
JSON_SERIALIZE_MAP_SERIALIZABLE
(
"TimingStats", |
InstallBundleUtils.h | ||
void ResetRequiredBundles
(
const TArray< FString >& NewRequiredBundles |
Removes all Required Bundle Names except the ones in the NewRequiredBundlesList. | InstallBundleUtils.h |
Overridden from FPersistentStatsBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FString GetFullPathForStatFile() |
Implementation for FInstallBundleStatsContainerBase. | InstallBundleUtils.h |