IInstallBundleSource

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

IInstallBundleSource

References

Module

InstallBundleManager

Header

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

Include

#include "InstallBundleSourceInterface.h"

Syntax

class IInstallBundleSource : public TSharedFromThis< IInstallBundleSource >

Destructors

Name Description

Public function Virtual

~IInstallBundleSource()

Functions

Name Description

Public function

void

 

AsyncInit

Bundle manager will not call AsyncInit again until the bundle source calls back that it is complete It will be retried indefinitely until init is successful.

Public function Virtual

void

 

CancelBundles

(
    TArrayView< const FName > BundleNam...,
    EInstallBundleCancelFlags Flags
)

Cancel the install for the specified bundles.

Public function Virtual

bool

 

CancelRequestRemoveContentOnNextInit

(
    TArrayView< const FName > BundleNam...
)

Call to cancel the removal of any content scheduled for removal the next time the source is initialized Returns true if all bundles were canceled

Public function Virtual Const

TOptional< F...

 

GetBundleProgress

(
    FName BundleName
)

Derived classes should implement this if their content install will take a significant amount of time.

Public function Virtual Const

EInstallBund...

 

GetBundleSkipReason

(
    FName BundleName
)

Allows this bundle source to reject bundle requests early, rather than failing them.

Public function

void

 

GetContentState

(
    TArrayView< const FName > BundleNam...,
    EInstallBundleGetContentStateFlags ...,
    FInstallBundleGetContentStateDelega...
)

Gets the state of content on disk BundleNames contains all dependencies and has been deduped

Public function Const

FString

 

GetContentVersion()

Returns content version in a "-" format.

Public function Const

EInstallBund...

 

GetInitState()

Whether this source has been initialized or not.

Public function Virtual Const

EInstallBund...

 

GetModifyableContentRequestFlags()

UpdateContentRequestFlags - Allow some flags to be updated for in flight requests Currently only CheckForCellularDataUsage is supported

Public function Const

EInstallBund...

 

GetSourceType()

Returns a unique id for this source.

Public function Virtual Const

float

 

GetSourceWeight()

Returns the how this source should be weighted when combined with other sources.

Public function

FInstallBund...

 

Init

Called once by bundle manager after constructing the bundle source Any non-fallback errors returned will cause bundle manager to fail to initialize

Public function Virtual

bool

 

RequestRemoveContentOnNextInit

(
    TArrayView< const FName > RemoveNam...
)

Returns true if content is scheduled to be removed the next time the source is initialized BundleNames contains all dependencies and has been deduped

Public function

void

 

RequestUpdateContent

Updates content on disk if necessary BundleContexts contains all dependencies and has been deduped

Public function Virtual

void

 

SetErrorSimulationCommands

(
    const FString& CommandLine
)

Called by bundle manager to pass through command line options to simulate errors.

Public function Virtual

void

 

UpdateContentRequestFlags

(
    TArrayView< const FName > BundleNam...,
    EInstallBundleRequestFlags AddFlags,
    EInstallBundleRequestFlags RemoveFl...
)

Public function Virtual

void

 

UserPauseBundles

(
    TArrayView< const FName > BundleNam...
)

User Pause/Resume bundles.

Public function Virtual

void

 

UserResumeBundles

(
    TArrayView< const FName > BundleNam...
)

Classes

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss