Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
| Name | FInstallBundleSourceReport |
| Type | struct |
| Header File | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleManagerReporting.h |
| Include Path | #include "InstallBundleManagerReporting.h" |
Syntax
struct FInstallBundleSourceReport : public FJsonSerializable
Inheritance Hierarchy
- FJsonSerializable → FInstallBundleSourceReport
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bundles | TArray< FInstallBundleReport > | Array containing a single bundle report for every bundle this source is handling. | InstallBundleManagerReporting.h | |
| SourceType | FName | The bundle source's type string. | InstallBundleManagerReporting.h | |
| TargetVersion | TOptional< FString > | A string specifying what content version is being upgrade TO. | InstallBundleManagerReporting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint64 DownloadedBytes() |
Returns the amount of downloaded bytes for this bundle source for all bundles, should always be 0 <= x <= TotalDownloadSize() | InstallBundleManagerReporting.h | |
FInstallBundleReport & FindOrAddBundleReport
(
FName BundleName |
Returns a reference to the bundle source report for the given type. | InstallBundleManagerReporting.h | |
JSON_SERIALIZE_ARRAY_SERIALIZABLE
(
"Bundles", |
InstallBundleManagerReporting.h | ||
BEGIN_JSON_SERIALIZER JSON_SERIALIZE_NAME
(
"SourceType", |
InstallBundleManagerReporting.h | ||
JSON_SERIALIZE_OPTIONAL
(
"TargetVersion", |
InstallBundleManagerReporting.h | ||
int TotalBundleCount() |
Returns the total amount of bundles being updated, regardless of their state. | InstallBundleManagerReporting.h | |
uint64 TotalDownloadSize() |
Returns the total amount of bytes that will or has been downloaded for this bundle source for all bundles. | InstallBundleManagerReporting.h | |
END_JSON_SERIALIZER FInstallBundleReport * TryFindBundleReport
(
FName BundleName |
Returns pointer to bundle report that's valid as long as Bundles is not modified. | InstallBundleManagerReporting.h | |
int UpdatedBundleCount() |
Returns the amount of bundles that has being updated. | InstallBundleManagerReporting.h |