FSessionPersistentStats

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.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FJsonSerializable

FPersistentStatsBase

FSessionPersistentStats

References

Module

InstallBundleManager

Header

/Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleUtils.h

Include

#include "InstallBundleUtils.h"

Syntax

class FSessionPersistentStats : public InstallBundleUtil::PersistentStats::FPersistentStatsBase

Remarks

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.

Constructors

Name Description

Public function

FSessionPersistentStats

(
    const FString& ContentRequestNameI...
)

Destructors

Name Description

Public function Virtual

~FSessionPersistentStats()

Functions

Name Description

Public function

void

 

AddRequiredBundles

(
    const TArray< FString >& RequiredB...
)

Public function

void

 

AddRequiredBundles

(
    const TArray< FName >& RequiredBun...
)

Public function Const

void

 

GetRequiredBundles

(
    TArray< FString >& OutRequiredBund...
)

Populates the passed in TArray with all the required bundles' names.

Public function

void

 

ResetRequiredBundles

(
    const TArray< FString >& NewRequir...
)

Removes all Required Bundle Names except the ones in the NewRequiredBundlesList.

Overridden from FPersistentStatsBase

Name Description

Public function Virtual Const

const FStrin...

 

GetFullPathForStatFile()

Implementation for FInstallBundleStatsContainerBase.

Overridden from FJsonSerializable

Name Description

Public function Virtual

void

 

Serialize

(
    FJsonSerializerBase& Serializer,
    bool bFlatObject
)

We should not ever really be serializing this base class. Kept it here for reference.