C# Класс Hugula.Update.Download

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Releases all resource used by the Hugula.Update.Download object.

Call Dispose when you are finished using the Hugula.Update.Download. The Dispose method leaves the Hugula.Update.Download in an unusable state. After calling Dispose, you must release all references to the Hugula.Update.Download so the garbage collector can reclaim the memory that the Hugula.Update.Download was occupying.

Init ( string hosts, int maxLoading, System oneDone, System allDone ) : void

Load ( string url, string path, object args ) : void

Приватные методы

Метод Описание
CheckLoad ( ReqInfo req ) : bool

判断加载

GetFree ( ) : WebDownload

Gets the free.

Load ( ReqInfo req ) : void

加入加载队列

OnDestroy ( ) : void
OnDownloadFileCompleted ( object sender, System e ) : void
OnDownloadProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void
OnFileDown ( ReqInfo req, bool isError ) : void
Update ( ) : void

Описание методов

Dispose() публичный статический Метод

Releases all resource used by the Hugula.Update.Download object.
Call Dispose when you are finished using the Hugula.Update.Download. The Dispose method leaves the Hugula.Update.Download in an unusable state. After calling Dispose, you must release all references to the Hugula.Update.Download so the garbage collector can reclaim the memory that the Hugula.Update.Download was occupying.
public static Dispose ( ) : void
Результат void

Init() публичный Метод

public Init ( string hosts, int maxLoading, System oneDone, System allDone ) : void
hosts string
maxLoading int
oneDone System
allDone System
Результат void

Load() публичный Метод

public Load ( string url, string path, object args ) : void
url string
path string
args object
Результат void