C# Class Hugula.Loader.UriGroup

显示文件 Open project: tenvick/hugula Class Usage Examples

Public Methods

Method Description
Add ( string uri ) : int

添加uri

Add ( string uri, Array>.Action onWWWComplete, bool>.Func onCrcCheck ) : void

添加uri

Add ( string uri, Array>.Action onWWWComplete, bool>.Func onCrcCheck, string>.Func onOverrideUrl ) : void
Add ( string uri, bool needCheckCrc ) : void
Add ( string uri, bool needCheckCrc, bool onWWWComp, bool onOverrideUrl ) : void
CheckUriCrc ( CRequest req ) : bool
Clear ( ) : void
GetUri ( int index ) : string

获取当前索引的uri

OverrideRequestUrlByCrc ( CRequest req ) : string
SaveWWWFileToPersistent ( CRequest req, Array www ) : void
SetNextUri ( CRequest req ) : bool

设置req index处的uri

UriGroup ( ) : System

Private Methods

Method Description
AddonCrcChecks ( int index, bool>.Func onCrcCheck ) : void
AddonOverrideUrls ( int index, string>.Func onOverrideUrl ) : void
AddonWWWCompletes ( int index, Array>.Action onWWWComplete ) : void
OnOverrideUrl ( CRequest req ) : string
OnWWWComplete ( CRequest req, WWW www ) : void

Method Details

Add() public method

添加uri
public Add ( string uri ) : int
uri string
return int

Add() public method

添加uri
public Add ( string uri, Array>.Action onWWWComplete, bool>.Func onCrcCheck ) : void
uri string
onWWWComplete Array>.Action
onCrcCheck bool>.Func
return void

Add() public method

public Add ( string uri, Array>.Action onWWWComplete, bool>.Func onCrcCheck, string>.Func onOverrideUrl ) : void
uri string
onWWWComplete Array>.Action
onCrcCheck bool>.Func
onOverrideUrl string>.Func
return void

Add() public method

public Add ( string uri, bool needCheckCrc ) : void
uri string
needCheckCrc bool
return void

Add() public method

public Add ( string uri, bool needCheckCrc, bool onWWWComp, bool onOverrideUrl ) : void
uri string
needCheckCrc bool
onWWWComp bool
onOverrideUrl bool
return void

CheckUriCrc() public method

public CheckUriCrc ( CRequest req ) : bool
req CRequest
return bool

Clear() public method

public Clear ( ) : void
return void

GetUri() public method

获取当前索引的uri
public GetUri ( int index ) : string
index int
return string

OverrideRequestUrlByCrc() public static method

public static OverrideRequestUrlByCrc ( CRequest req ) : string
req CRequest
return string

SaveWWWFileToPersistent() public static method

public static SaveWWWFileToPersistent ( CRequest req, Array www ) : void
req CRequest
www Array
return void

SetNextUri() public method

设置req index处的uri
public SetNextUri ( CRequest req ) : bool
req CRequest
return bool

UriGroup() public method

public UriGroup ( ) : System
return System