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

Interface for platform specific chunk based install 更多...

#include <GenericPlatformChunkInstall.h>

+ 类 IPlatformChunkInstall 继承关系图:

Public 成员函数

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)=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 更多...
 

详细描述

Interface for platform specific chunk based install

成员函数说明

◆ AddChunkInstallDelegate()

virtual FDelegateHandle IPlatformChunkInstall::AddChunkInstallDelegate ( FPlatformChunkInstallDelegate  Delegate)
pure virtual

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

在 FGenericPlatformChunkInstall 内被实现.

◆ DebugStartNextChunk()

virtual bool IPlatformChunkInstall::DebugStartNextChunk ( )
pure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ ExternalNotifyChunkAvailable()

virtual void IPlatformChunkInstall::ExternalNotifyChunkAvailable ( uint32  InChunkID)
pure virtual

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

在 FGenericPlatformChunkInstall 内被实现.

◆ GetChunkLocation()

virtual EChunkLocation::Type IPlatformChunkInstall::GetChunkLocation ( uint32  ChunkID)
protectedpure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ GetChunkProgress()

virtual float IPlatformChunkInstall::GetChunkProgress ( uint32  ChunkID,
EChunkProgressReportingType::Type  ReportType 
)
pure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ GetInstallSpeed()

virtual EChunkInstallSpeed::Type IPlatformChunkInstall::GetInstallSpeed ( )
pure virtual

Inquire about the priority of chunk installation vs.

game IO.

返回
Paused, low or high priority.

在 FGenericPlatformChunkInstall 内被实现.

◆ GetPakchunkLocation()

virtual EChunkLocation::Type IPlatformChunkInstall::GetPakchunkLocation ( int32  PakchunkIndex)
pure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ GetProgressReportingTypeSupported()

virtual bool IPlatformChunkInstall::GetProgressReportingTypeSupported ( EChunkProgressReportingType::Type  ReportType)
pure virtual

Check if a given reporting type is supported.

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

在 FGenericPlatformChunkInstall 内被实现.

◆ InstallChunks()

virtual bool IPlatformChunkInstall::InstallChunks ( const TArray< FCustomChunk > &  ChunkTagsID)
pure virtual

Install chunks with Intelligent Delivery API

返回
whether installation task has been kicked

在 FGenericPlatformChunkInstall 内被实现.

◆ IsChunkInstallationPending()

virtual bool IPlatformChunkInstall::IsChunkInstallationPending ( const TArray< FCustomChunk > &  ChunkTagsID)
pure virtual

Check whether installation of chunks are pending

返回
whether installation task has been kicked

在 FGenericPlatformChunkInstall 内被实现.

◆ PrioritizeChunk()

virtual bool IPlatformChunkInstall::PrioritizeChunk ( uint32  ChunkID,
EChunkPriority::Type  Priority 
)
protectedpure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ PrioritizePakchunk()

virtual bool IPlatformChunkInstall::PrioritizePakchunk ( int32  PakchunkIndex,
EChunkPriority::Type  Priority 
)
pure virtual

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.

在 FGenericPlatformChunkInstall 内被实现.

◆ RemoveChunkInstallDelegate()

virtual void IPlatformChunkInstall::RemoveChunkInstallDelegate ( FDelegateHandle  Delegate)
pure virtual

Remove a delegate callback on chunk install completion.

参数
DelegateThe delegate to remove.

在 FGenericPlatformChunkInstall 内被实现.

◆ SetInstallSpeed()

virtual bool IPlatformChunkInstall::SetInstallSpeed ( EChunkInstallSpeed::Type  InstallSpeed)
pure virtual

Specify the priority of chunk installation vs.

game IO.

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

在 FGenericPlatformChunkInstall 内被实现.

◆ SupportsIntelligentInstall()

virtual bool IPlatformChunkInstall::SupportsIntelligentInstall ( )
pure virtual

Check whether current platform supports intelligent chunk installation

返回
whether Intelligent Install is supported

在 FGenericPlatformChunkInstall 内被实现.

◆ UninstallChunks()

virtual bool IPlatformChunkInstall::UninstallChunks ( const TArray< FCustomChunk > &  ChunkTagsID)
pure virtual

Uninstall chunks with Intelligent Delivery API

返回
whether uninstallation task has been kicked

在 FGenericPlatformChunkInstall 内被实现.


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