Table of Contents

Struct PackDownloadProgress

Namespace
TAssetBundle.Plugin.PlayAssetDelivery
Assembly
TAssetBundle.Plugin.PlayAssetDelivery.dll

Snapshot of a PAD asset pack download. Raised via OnDownloadProgress for every status/progress update.

public readonly struct PackDownloadProgress
Inherited Members

Constructors

PackDownloadProgress(string, long, long, PackDownloadStatus, string)

public PackDownloadProgress(string packName, long bytesDownloaded, long bytesTotal, PackDownloadStatus status, string error)

Parameters

packName string
bytesDownloaded long
bytesTotal long
status PackDownloadStatus
error string

Fields

BytesDownloaded

public readonly long BytesDownloaded

Field Value

long

BytesTotal

public readonly long BytesTotal

Field Value

long

Error

public readonly string Error

Field Value

string

PackName

public readonly string PackName

Field Value

string

Status

public readonly PackDownloadStatus Status

Field Value

PackDownloadStatus

Properties

NormalizedProgress

Normalized progress (0..1). Returns 0 when total bytes is unknown.

public float NormalizedProgress { get; }

Property Value

float