Interface for the services manager. 更多...
#include <IBuildPatchServicesModule.h>
类 IBuildPatchServicesModule 继承关系图:Public 成员函数 | |
| virtual void | CancelAllInstallers (bool WaitForThreads)=0 |
| Call to force the exit out of all current installers, optionally blocks until threads have exited and complete delegates are called. 更多... | |
| virtual bool | ChunkBuildDirectory (const BuildPatchServices::FChunkBuildConfiguration &Configuration)=0 |
| Processes a Build directory to create chunks for new data and produce a manifest, saved to the provided cloud directory. 更多... | |
| virtual bool | CompactifyCloudDirectory (const BuildPatchServices::FCompactifyConfiguration &Configuration)=0 |
| Processes a Cloud Directory to identify and delete any orphaned chunks or files. 更多... | |
| virtual IBuildInstallerRef | CreateBuildInstaller (BuildPatchServices::FBuildInstallerConfiguration Configuration, FBuildPatchInstallerDelegate OnComplete) const =0 |
| Factory providing construction of a build installer class. 更多... | |
| virtual BuildPatchServices::IBuildStatisticsRef | CreateBuildStatistics (const IBuildInstallerRef &Installer) const =0 |
| Factory providing construction of a build statistics class. 更多... | |
| virtual BuildPatchServices::IPatchDataEnumerationRef | CreatePatchDataEnumeration (BuildPatchServices::FPatchDataEnumerationConfiguration Configuration) const =0 |
| Factory providing construction of a patch data enumeration class. 更多... | |
| virtual bool | DiffManifests (const BuildPatchServices::FDiffManifestsConfiguration &Configuration)=0 |
| Takes two manifests as input and outputs the details of the patch. 更多... | |
| virtual bool | EnumeratePatchData (const BuildPatchServices::FPatchDataEnumerationConfiguration &Configuration)=0 |
| Saves info for an enumeration of patch data referenced from an input file of known format, to a specified output file. 更多... | |
| virtual TSet< FString > | GetInstalledPrereqIds () const =0 |
| Gets an array of prerequisite identifiers that are registered as installed on this system. 更多... | |
| virtual const TArray< IBuildInstallerRef > & | GetInstallers () const =0 |
| Gets a list of currently active installers 更多... | |
| virtual IBuildManifestPtr | LoadManifestFromFile (const FString &Filename)=0 |
| Loads a Build Manifest from file and returns the interface 更多... | |
| virtual IBuildManifestPtr | MakeManifestFromData (const TArray< uint8 > &ManifestData)=0 |
| Constructs a Build Manifest from a data 更多... | |
| virtual bool | MergeManifests (const FString &ManifestFilePathA, const FString &ManifestFilePathB, const FString &ManifestFilePathC, const FString &NewVersionString, const FString &SelectionDetailFilePath)=0 |
| Takes two manifests as input, in order to merge together producing a new manifest containing all files. 更多... | |
| virtual FSimpleEvent & | OnStartBuildInstall ()=0 |
| Returns an event which fires when we start a new build install. | |
| virtual bool | OptimiseChunkDelta (const BuildPatchServices::FChunkDeltaOptimiserConfiguration &Configuration)=0 |
| Process a pair of manifests to produce additional delta data which reduces the patch directly between them. 更多... | |
| virtual bool | PackageChunkData (const BuildPatchServices::FPackageChunksConfiguration &Configuration)=0 |
| Packages data referenced by a manifest file into chunkdb files, supporting a maximum filesize per chunkdb. 更多... | |
| virtual void | RegisterAppInstallation (IBuildManifestRef AppManifest, const FString AppInstallDirectory)=0 |
| Registers an installation on this machine. 更多... | |
| virtual bool | SaveManifestToFile (const FString &Filename, IBuildManifestRef Manifest)=0 |
| Saves a Build Manifest to file 更多... | |
| virtual void | SetAnalyticsProvider (TSharedPtr< IAnalyticsProvider > AnalyticsProvider)=0 |
| Sets the Analytics provider that will be used to register errors with patch/build installs 更多... | |
| virtual void | SetBackupDirectory (const FString &BackupDir)=0 |
| Sets the backup directory where files that are being clobbered by repair/patch will be placed. 更多... | |
| virtual void | SetCloudDirectories (TArray< FString > CloudDirs)=0 |
| Sets the cloud directory list where chunks and manifests will be pulled from and saved to. 更多... | |
| virtual void | SetCloudDirectory (FString CloudDir)=0 |
| Sets the cloud directory where chunks and manifests will be pulled from and saved to. 更多... | |
| virtual void | SetStagingDirectory (const FString &StagingDir)=0 |
| Sets the directory used for staging intermediate files. 更多... | |
| virtual bool | UnregisterAppInstallation (const FString AppInstallDirectory)=0 |
| Unregisters an installation on this machine 更多... | |
| virtual bool | VerifyChunkData (const FString &SearchPath, const FString &OutputFile)=0 |
| Searches a given directory for chunk and chunkdb files, and verifies their integrity uses the hashes in the files. 更多... | |
| virtual | ~IBuildPatchServicesModule () |
| Virtual destructor. | |
Public 成员函数 继承自 IModuleInterface | |
| virtual bool | IsGameModule () const |
| Returns true if this module hosts gameplay code 更多... | |
| virtual void | PostLoadCallback () |
| Called after the module has been reloaded | |
| virtual void | PreUnloadCallback () |
| Called before the module has been unloaded | |
| virtual void | ShutdownModule () |
| Called before the module is unloaded, right before the module object is destroyed. 更多... | |
| virtual void | StartupModule () |
| Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多... | |
| virtual bool | SupportsAutomaticShutdown () |
| Override this to set whether your module would like cleanup on application shutdown 更多... | |
| virtual bool | SupportsDynamicReloading () |
| Override this to set whether your module is allowed to be unloaded on the fly 更多... | |
| virtual | ~IModuleInterface () |
| Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface | |
Interface for the services manager.
|
pure virtual |
Call to force the exit out of all current installers, optionally blocks until threads have exited and complete delegates are called.
| WaitForThreads | If true, will block on threads exit and completion delegates |
|
pure virtual |
Processes a Build directory to create chunks for new data and produce a manifest, saved to the provided cloud directory.
NOTE: This function is blocking and will not return until finished.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FChunkBuildConfiguration comments. |
|
pure virtual |
Processes a Cloud Directory to identify and delete any orphaned chunks or files.
NOTE: THIS function is blocking and will not return until finished.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FCompactifyConfiguration comments. |
|
pure virtual |
Factory providing construction of a build installer class.
| Configuration | The configuration for the installer. |
|
pure virtual |
Factory providing construction of a build statistics class.
| Installer | The installer to create a build statistics for. |
|
pure virtual |
Factory providing construction of a patch data enumeration class.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FPatchDataEnumerationConfiguration comments. |
|
pure virtual |
Takes two manifests as input and outputs the details of the patch.
NOTE: THIS function is blocking and will not return until finished. Don't run on main thread.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FDiffManifestsConfiguration comments. |
|
pure virtual |
Saves info for an enumeration of patch data referenced from an input file of known format, to a specified output file.
NOTE: THIS function is blocking and will not return until finished.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FPatchDataEnumerationConfiguration comments. |
Gets an array of prerequisite identifiers that are registered as installed on this system.
|
pure virtual |
Gets a list of currently active installers
|
pure virtual |
Loads a Build Manifest from file and returns the interface
| Filename | The file to load from |
|
pure virtual |
Constructs a Build Manifest from a data
| ManifestData | The data received from a web api |
|
pure virtual |
Takes two manifests as input, in order to merge together producing a new manifest containing all files.
NOTE: THIS function is blocking and will not return until finished. Don't run on main thread.
| ManifestFilePathA | A full file path for the base manifest to be loaded. |
| ManifestFilePathB | A full file path for the merge manifest to be loaded, by default files in B will stomp over A. |
| ManifestFilePathC | A full file path for the manifest to be output. |
| NewVersionString | The new version string for the build, all other meta will be copied from B. |
| SelectionDetailFilePath | Optional full file path to a text file listing each build relative file required, followed by A or B to select which manifest to pull from. The format should be \r separated lines of filename \t A|B. Example: File/in/build1 A File/in/build2 B |
|
pure virtual |
Process a pair of manifests to produce additional delta data which reduces the patch directly between them.
NOTE: This function is blocking and will not return until finished.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FChunkDeltaOptimiserConfiguration comments. |
|
pure virtual |
Packages data referenced by a manifest file into chunkdb files, supporting a maximum filesize per chunkdb.
NOTE: THIS function is blocking and will not return until finished. Don't run on main thread.
| Configuration | Specifies the settings for the operation. See BuildPatchServices::FPackageChunksConfiguration comments. |
|
pure virtual |
Registers an installation on this machine.
This information is used to gather a list of install locations that can be used as chunk sources.
| AppManifest | Ref to the manifest for this installation |
| AppInstallDirectory | The install location |
|
pure virtual |
Saves a Build Manifest to file
| Filename | The file to save to |
| Manifest | The manifest to save out |
|
pure virtual |
Sets the Analytics provider that will be used to register errors with patch/build installs
| AnalyticsProvider | Shared ptr to an analytics interface to use. If NULL analytics will be disabled. |
|
pure virtual |
Sets the backup directory where files that are being clobbered by repair/patch will be placed.
| BackupDir | The backup directory |
|
pure virtual |
Sets the cloud directory list where chunks and manifests will be pulled from and saved to.
When downloading, if we get a failure, we move on to the next cloud option for that request.
| CloudDirs | The cloud directory list |
|
pure virtual |
Sets the cloud directory where chunks and manifests will be pulled from and saved to.
| CloudDir | The cloud directory |
|
pure virtual |
Sets the directory used for staging intermediate files.
| StagingDir | The staging directory |
|
pure virtual |
Unregisters an installation on this machine
| AppInstallDirectory | The install location which RegisterAppInstallation was executed with |
|
pure virtual |
Searches a given directory for chunk and chunkdb files, and verifies their integrity uses the hashes in the files.
NOTE: THIS function is blocking and will not return until finished. Don't run on main thread.
| SearchPath | A full file path for the directory to search. |
| OutputFile | A full file path where to save the output text. |