engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IBuildPatchServicesModule类 参考abstract

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.

成员函数说明

◆ CancelAllInstallers()

virtual void IBuildPatchServicesModule::CancelAllInstallers ( bool  WaitForThreads)
pure virtual

Call to force the exit out of all current installers, optionally blocks until threads have exited and complete delegates are called.

参数
WaitForThreadsIf true, will block on threads exit and completion delegates

◆ ChunkBuildDirectory()

virtual bool IBuildPatchServicesModule::ChunkBuildDirectory ( const BuildPatchServices::FChunkBuildConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FChunkBuildConfiguration comments.
返回
true if successful.

◆ CompactifyCloudDirectory()

virtual bool IBuildPatchServicesModule::CompactifyCloudDirectory ( const BuildPatchServices::FCompactifyConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FCompactifyConfiguration comments.
返回
true if successful.

◆ CreateBuildInstaller()

virtual IBuildInstallerRef IBuildPatchServicesModule::CreateBuildInstaller ( BuildPatchServices::FBuildInstallerConfiguration  Configuration,
FBuildPatchInstallerDelegate  OnComplete 
) const
pure virtual

Factory providing construction of a build installer class.

参数
ConfigurationThe configuration for the installer.
返回
an instance of an IBuildInstaller implementation.

◆ CreateBuildStatistics()

virtual BuildPatchServices::IBuildStatisticsRef IBuildPatchServicesModule::CreateBuildStatistics ( const IBuildInstallerRef &  Installer) const
pure virtual

Factory providing construction of a build statistics class.

参数
InstallerThe installer to create a build statistics for.
返回
an instance of an IBuildStatistics implementation.

◆ CreatePatchDataEnumeration()

virtual BuildPatchServices::IPatchDataEnumerationRef IBuildPatchServicesModule::CreatePatchDataEnumeration ( BuildPatchServices::FPatchDataEnumerationConfiguration  Configuration) const
pure virtual

Factory providing construction of a patch data enumeration class.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FPatchDataEnumerationConfiguration comments.
返回
an instance of an IPatchDataEnumeration implementation.

◆ DiffManifests()

virtual bool IBuildPatchServicesModule::DiffManifests ( const BuildPatchServices::FDiffManifestsConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FDiffManifestsConfiguration comments.
返回
true if successful.

◆ EnumeratePatchData()

virtual bool IBuildPatchServicesModule::EnumeratePatchData ( const BuildPatchServices::FPatchDataEnumerationConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FPatchDataEnumerationConfiguration comments.
返回
true if successful.

◆ GetInstalledPrereqIds()

virtual TSet< FString > IBuildPatchServicesModule::GetInstalledPrereqIds ( ) const
pure virtual

Gets an array of prerequisite identifiers that are registered as installed on this system.

返回
a set containing all installed prerequisite identifiers.

◆ GetInstallers()

virtual const TArray< IBuildInstallerRef > & IBuildPatchServicesModule::GetInstallers ( ) const
pure virtual

Gets a list of currently active installers

返回
all installers that are currently active.

◆ LoadManifestFromFile()

virtual IBuildManifestPtr IBuildPatchServicesModule::LoadManifestFromFile ( const FString &  Filename)
pure virtual

Loads a Build Manifest from file and returns the interface

参数
FilenameThe file to load from
返回
a shared pointer to the manifest, which will be invalid if load failed.

◆ MakeManifestFromData()

virtual IBuildManifestPtr IBuildPatchServicesModule::MakeManifestFromData ( const TArray< uint8 > &  ManifestData)
pure virtual

Constructs a Build Manifest from a data

参数
ManifestDataThe data received from a web api
返回
a shared pointer to the manifest, which will be invalid if creation failed.

◆ MergeManifests()

virtual bool IBuildPatchServicesModule::MergeManifests ( const FString &  ManifestFilePathA,
const FString &  ManifestFilePathB,
const FString &  ManifestFilePathC,
const FString &  NewVersionString,
const FString &  SelectionDetailFilePath 
)
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.

参数
ManifestFilePathAA full file path for the base manifest to be loaded.
ManifestFilePathBA full file path for the merge manifest to be loaded, by default files in B will stomp over A.
ManifestFilePathCA full file path for the manifest to be output.
NewVersionStringThe new version string for the build, all other meta will be copied from B.
SelectionDetailFilePathOptional 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
返回
true if successful.

◆ OptimiseChunkDelta()

virtual bool IBuildPatchServicesModule::OptimiseChunkDelta ( const BuildPatchServices::FChunkDeltaOptimiserConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FChunkDeltaOptimiserConfiguration comments.
返回
true if successful.

◆ PackageChunkData()

virtual bool IBuildPatchServicesModule::PackageChunkData ( const BuildPatchServices::FPackageChunksConfiguration &  Configuration)
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.

参数
ConfigurationSpecifies the settings for the operation. See BuildPatchServices::FPackageChunksConfiguration comments.
返回
true if successful.

◆ RegisterAppInstallation()

virtual void IBuildPatchServicesModule::RegisterAppInstallation ( IBuildManifestRef  AppManifest,
const FString  AppInstallDirectory 
)
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.

参数
AppManifestRef to the manifest for this installation
AppInstallDirectoryThe install location

◆ SaveManifestToFile()

virtual bool IBuildPatchServicesModule::SaveManifestToFile ( const FString &  Filename,
IBuildManifestRef  Manifest 
)
pure virtual

Saves a Build Manifest to file

参数
FilenameThe file to save to
ManifestThe manifest to save out
返回
If the save was successful.

◆ SetAnalyticsProvider()

virtual void IBuildPatchServicesModule::SetAnalyticsProvider ( TSharedPtr< IAnalyticsProvider >  AnalyticsProvider)
pure virtual

Sets the Analytics provider that will be used to register errors with patch/build installs

参数
AnalyticsProviderShared ptr to an analytics interface to use. If NULL analytics will be disabled.

◆ SetBackupDirectory()

virtual void IBuildPatchServicesModule::SetBackupDirectory ( const FString &  BackupDir)
pure virtual

Sets the backup directory where files that are being clobbered by repair/patch will be placed.

参数
BackupDirThe backup directory

◆ SetCloudDirectories()

virtual void IBuildPatchServicesModule::SetCloudDirectories ( TArray< FString >  CloudDirs)
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.

参数
CloudDirsThe cloud directory list

◆ SetCloudDirectory()

virtual void IBuildPatchServicesModule::SetCloudDirectory ( FString  CloudDir)
pure virtual

Sets the cloud directory where chunks and manifests will be pulled from and saved to.

参数
CloudDirThe cloud directory

◆ SetStagingDirectory()

virtual void IBuildPatchServicesModule::SetStagingDirectory ( const FString &  StagingDir)
pure virtual

Sets the directory used for staging intermediate files.

参数
StagingDirThe staging directory

◆ UnregisterAppInstallation()

virtual bool IBuildPatchServicesModule::UnregisterAppInstallation ( const FString  AppInstallDirectory)
pure virtual

Unregisters an installation on this machine

参数
AppInstallDirectoryThe install location which RegisterAppInstallation was executed with
返回
returns true if successfully removed installation directory

◆ VerifyChunkData()

virtual bool IBuildPatchServicesModule::VerifyChunkData ( const FString &  SearchPath,
const FString &  OutputFile 
)
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.

参数
SearchPathA full file path for the directory to search.
OutputFileA full file path where to save the output text.
返回
true if successful and no corruptions detected.

该类的文档由以下文件生成: