C# Class Hugula.Update.Download

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: tenvick/hugula Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

Dispose() public static méthode

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
Résultat void

Init() public méthode

public Init ( string hosts, int maxLoading, System oneDone, System allDone ) : void
hosts string
maxLoading int
oneDone System
allDone System
Résultat void

Load() public méthode

public Load ( string url, string path, object args ) : void
url string
path string
args object
Résultat void