C# Class QFramework.QThreadMgr

当前线程管理器,同时只能做一个任务
Inheritance: QMgrBehaviour
Datei anzeigen Open project: liangxiegame/QFramework

Public Methods

Method Description
AddEvent ( ThreadEvent ev, Action func ) : void

添加到事件队列

Dispose ( ) : void

Protected Methods

Method Description
SetupMgr ( ) : void
SetupMgrId ( ) : void

Private Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void

应用程序退出

OnDownloadFile ( List evParams ) : void

下载文件

OnExtractFile ( List evParams ) : void

调用方法

OnSyncEvent ( NotiData data ) : void

通知事件

OnUpdate ( ) : void
ProgressChanged ( object sender, DownloadProgressChangedEventArgs e ) : void
Start ( ) : void

Method Details

AddEvent() public method

添加到事件队列
public AddEvent ( ThreadEvent ev, Action func ) : void
ev ThreadEvent
func Action
return void

Dispose() public static method

public static Dispose ( ) : void
return void

SetupMgr() protected method

protected SetupMgr ( ) : void
return void

SetupMgrId() protected method

protected SetupMgrId ( ) : void
return void