engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
FGenericPlatformChunkInstall类 参考

Generic implementation of chunk based install 更多...

#include <GenericPlatformChunkInstall.h>

+ 类 FGenericPlatformChunkInstall 继承关系图:

Public 成员函数

virtual FDelegateHandle AddChunkInstallDelegate (FPlatformChunkInstallDelegate Delegate) override
 Request a delegate callback on chunk install completion or failure. 更多...
 
virtual bool DebugStartNextChunk () override
 For platforms that support emulation of the Chunk install. 更多...
 
virtual void ExternalNotifyChunkAvailable (uint32 InChunkID) override
 Allow an external system to notify that a particular chunk ID has become available Initial use-case is for dynamically encrypted pak files to signal to the outside world that it has become available. 更多...
 
virtual float GetChunkProgress (uint32 ChunkID, EChunkProgressReportingType::Type ReportType) override
 Get the current install progress of a chunk. 更多...
 
virtual EChunkInstallSpeed::Type GetInstallSpeed () override
 Inquire about the priority of chunk installation vs. 更多...
 
virtual EChunkLocation::Type GetPakchunkLocation (int32 PakchunkIndex) override
 Get the current location of a chunk with pakchunk index. 更多...
 
virtual bool GetProgressReportingTypeSupported (EChunkProgressReportingType::Type ReportType) override
 Check if a given reporting type is supported. 更多...
 
virtual bool InstallChunks (const TArray< FCustomChunk > &ChunkTagIDs) override
 Install chunks with Intelligent Delivery API 更多...
 
virtual bool IsChunkInstallationPending (const TArray< FCustomChunk > &ChunkTags) override
 Check whether installation of chunks are pending 更多...
 
virtual bool PrioritizeChunk (uint32 ChunkID, EChunkPriority::Type Priority) override
 Hint to the installer that we would like to prioritize a specific chunk 更多...
 
virtual bool PrioritizePakchunk (int32 PakchunkIndex, EChunkPriority::Type Priority)
 Hint to the installer that we would like to prioritize a specific chunk 更多...
 
virtual void RemoveChunkInstallDelegate (FDelegateHandle Delegate) override
 Remove a delegate callback on chunk install completion. 更多...
 
virtual bool SetInstallSpeed (EChunkInstallSpeed::Type InstallSpeed) override
 Specify the priority of chunk installation vs. 更多...
 
virtual bool SupportsIntelligentInstall () override
 Check whether current platform supports intelligent chunk installation 更多...
 
virtual bool UninstallChunks (const TArray< FCustomChunk > &ChunkTagsID) override
 Uninstall chunks with Intelligent Delivery API 更多...
 
- Public 成员函数 继承自 IPlatformChunkInstall
virtual FDelegateHandle AddChunkInstallDelegate (FPlatformChunkInstallDelegate Delegate)=0
 Request a delegate callback on chunk install completion or failure. 更多...
 
virtual bool DebugStartNextChunk ()=0
 For platforms that support emulation of the Chunk install. 更多...
 
virtual void ExternalNotifyChunkAvailable (uint32 InChunkID)=0
 Allow an external system to notify that a particular chunk ID has become available Initial use-case is for dynamically encrypted pak files to signal to the outside world that it has become available. 更多...
 
virtual float GetChunkProgress (uint32 ChunkID, EChunkProgressReportingType::Type ReportType)=0
 Get the current install progress of a chunk. 更多...
 
virtual EChunkInstallSpeed::Type GetInstallSpeed ()=0
 Inquire about the priority of chunk installation vs. 更多...
 
virtual EChunkLocation::Type GetPakchunkLocation (int32 PakchunkIndex)=0
 Get the current location of a chunk with pakchunk index. 更多...
 
virtual bool GetProgressReportingTypeSupported (EChunkProgressReportingType::Type ReportType)=0
 Check if a given reporting type is supported. 更多...
 
virtual bool InstallChunks (const TArray< FCustomChunk > &ChunkTagsID)=0
 Install chunks with Intelligent Delivery API 更多...
 
virtual bool IsChunkInstallationPending (const TArray< FCustomChunk > &ChunkTagsID)=0
 Check whether installation of chunks are pending 更多...
 
virtual bool PrioritizePakchunk (int32 PakchunkIndex, EChunkPriority::Type Priority)=0
 Hint to the installer that we would like to prioritize a specific chunk 更多...
 
virtual void RemoveChunkInstallDelegate (FDelegateHandle Delegate)=0
 Remove a delegate callback on chunk install completion. 更多...
 
virtual bool SetInstallSpeed (EChunkInstallSpeed::Type InstallSpeed)=0
 Specify the priority of chunk installation vs. 更多...
 
virtual bool SupportsIntelligentInstall ()=0
 Check whether current platform supports intelligent chunk installation 更多...
 
virtual bool UninstallChunks (const TArray< FCustomChunk > &ChunkTagsID)=0
 Uninstall chunks with Intelligent Delivery API 更多...
 
virtual ~IPlatformChunkInstall ()
 Virtual destructor
 

Protected 成员函数

virtual EChunkLocation::Type GetChunkLocation (uint32 ChunkID) override
 Get the current location of a chunk. 更多...
 
virtual EChunkLocation::Type GetChunkLocation (uint32 ChunkID)=0
 Get the current location of a chunk. 更多...
 
virtual bool PrioritizeChunk (uint32 ChunkID, EChunkPriority::Type Priority)=0
 Hint to the installer that we would like to prioritize a specific chunk 更多...
 

Protected 属性

FPlatformChunkInstallMultiDelegate InstallDelegate
 Delegate called when installation succeeds or fails
 

详细描述

Generic implementation of chunk based install

成员函数说明

◆ AddChunkInstallDelegate()

virtual FDelegateHandle FGenericPlatformChunkInstall::AddChunkInstallDelegate ( FPlatformChunkInstallDelegate  Delegate)
inlineoverridevirtual

Request a delegate callback on chunk install completion or failure.

Request may not be respected.

参数
DelegateThe delegate to call when any chunk is installed or fails to install
返回
Handle to the bound delegate

实现了 IPlatformChunkInstall.

◆ DebugStartNextChunk()

virtual bool FGenericPlatformChunkInstall::DebugStartNextChunk ( )
inlineoverridevirtual

For platforms that support emulation of the Chunk install.

Starts transfer of the next chunk. Does nothing in a shipping build.

返回
true if the operation succeeds.

实现了 IPlatformChunkInstall.

◆ ExternalNotifyChunkAvailable()

virtual void FGenericPlatformChunkInstall::ExternalNotifyChunkAvailable ( uint32  InChunkID)
inlineoverridevirtual

Allow an external system to notify that a particular chunk ID has become available Initial use-case is for dynamically encrypted pak files to signal to the outside world that it has become available.

参数
InChunkID- ID of the chunk that has just become available

实现了 IPlatformChunkInstall.

◆ GetChunkLocation()

virtual EChunkLocation::Type FGenericPlatformChunkInstall::GetChunkLocation ( uint32  ChunkID)
inlineoverrideprotectedvirtual

Get the current location of a chunk.

Pakchunk index and platform chunk id are not always the same. Call GetPakchunkLocation instead of calling from outside.

参数
ChunkIDThe id of the chunk to check.
返回
Enum specifying whether the chunk is available to use, waiting to install, or does not exist.

实现了 IPlatformChunkInstall.

◆ GetChunkProgress()

virtual float FGenericPlatformChunkInstall::GetChunkProgress ( uint32  ChunkID,
EChunkProgressReportingType::Type  ReportType 
)
inlineoverridevirtual

Get the current install progress of a chunk.

Let the user specify report type for platforms that support more than one.

参数
ChunkIDThe id of the chunk to check.
ReportTypeThe type of progress report you want.
返回
A value whose meaning is dependent on the ReportType param.

实现了 IPlatformChunkInstall.

◆ GetInstallSpeed()

virtual EChunkInstallSpeed::Type FGenericPlatformChunkInstall::GetInstallSpeed ( )
inlineoverridevirtual

Inquire about the priority of chunk installation vs.

game IO.

返回
Paused, low or high priority.

实现了 IPlatformChunkInstall.

◆ GetPakchunkLocation()

virtual EChunkLocation::Type FGenericPlatformChunkInstall::GetPakchunkLocation ( int32  PakchunkIndex)
inlineoverridevirtual

Get the current location of a chunk with pakchunk index.

参数
PakchunkIndexThe id of the pak chunk.
返回
Enum specifying whether the chunk is available to use, waiting to install, or does not exist.

实现了 IPlatformChunkInstall.

◆ GetProgressReportingTypeSupported()

virtual bool FGenericPlatformChunkInstall::GetProgressReportingTypeSupported ( EChunkProgressReportingType::Type  ReportType)
inlineoverridevirtual

Check if a given reporting type is supported.

参数
ReportTypeEnum specifying how progress is reported.
返回
true if reporting type is supported on the current platform.

实现了 IPlatformChunkInstall.

◆ InstallChunks()

virtual bool FGenericPlatformChunkInstall::InstallChunks ( const TArray< FCustomChunk > &  ChunkTagsID)
inlineoverridevirtual

Install chunks with Intelligent Delivery API

返回
whether installation task has been kicked

实现了 IPlatformChunkInstall.

◆ IsChunkInstallationPending()

virtual bool FGenericPlatformChunkInstall::IsChunkInstallationPending ( const TArray< FCustomChunk > &  ChunkTagsID)
inlineoverridevirtual

Check whether installation of chunks are pending

返回
whether installation task has been kicked

实现了 IPlatformChunkInstall.

◆ PrioritizeChunk()

virtual bool FGenericPlatformChunkInstall::PrioritizeChunk ( uint32  ChunkID,
EChunkPriority::Type  Priority 
)
inlineoverridevirtual

Hint to the installer that we would like to prioritize a specific chunk

参数
ChunkIDThe id of the chunk to prioritize.
PriorityThe priority for the chunk.
返回
false if the operation is not allowed or the chunk doesn't exist, otherwise true.

实现了 IPlatformChunkInstall.

◆ PrioritizePakchunk()

virtual bool FGenericPlatformChunkInstall::PrioritizePakchunk ( int32  PakchunkIndex,
EChunkPriority::Type  Priority 
)
inlinevirtual

Hint to the installer that we would like to prioritize a specific chunk

参数
PakchunkIndexThe index of the pakchunk to prioritize.
PriorityThe priority for the chunk.
返回
false if the operation is not allowed or the chunk doesn't exist, otherwise true.

实现了 IPlatformChunkInstall.

◆ RemoveChunkInstallDelegate()

virtual void FGenericPlatformChunkInstall::RemoveChunkInstallDelegate ( FDelegateHandle  Delegate)
inlineoverridevirtual

Remove a delegate callback on chunk install completion.

参数
DelegateThe delegate to remove.

实现了 IPlatformChunkInstall.

◆ SetInstallSpeed()

virtual bool FGenericPlatformChunkInstall::SetInstallSpeed ( EChunkInstallSpeed::Type  InstallSpeed)
inlineoverridevirtual

Specify the priority of chunk installation vs.

game IO.

参数
InstallSpeedPause, low or high priority.
返回
false if the operation is not allowed, otherwise true.

实现了 IPlatformChunkInstall.

◆ SupportsIntelligentInstall()

virtual bool FGenericPlatformChunkInstall::SupportsIntelligentInstall ( )
inlineoverridevirtual

Check whether current platform supports intelligent chunk installation

返回
whether Intelligent Install is supported

实现了 IPlatformChunkInstall.

◆ UninstallChunks()

virtual bool FGenericPlatformChunkInstall::UninstallChunks ( const TArray< FCustomChunk > &  ChunkTagsID)
inlineoverridevirtual

Uninstall chunks with Intelligent Delivery API

返回
whether uninstallation task has been kicked

实现了 IPlatformChunkInstall.


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