C# Class UnityEngine.Caching

Inheritance: Object
Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
Authorize bool
Authorize bool
Authorize bool
CleanCache bool
CleanNamedCache bool
DeleteFromCache bool
GetVersionFromCache int
INTERNAL_CALL_IsVersionCached bool
INTERNAL_CALL_MarkAsUsed bool
INTERNAL_CALL_ResetNoBackupFlag void
INTERNAL_CALL_SetNoBackupFlag void

Public Methods

Method Description
Authorize ( string name, string domain, long size, string signature ) : bool

This is a WebPlayer-only function.

IsVersionCached ( string url, Hash128 hash ) : bool
IsVersionCached ( string url, int version ) : bool

Checks if an AssetBundle is cached.

MarkAsUsed ( string url, Hash128 hash ) : bool
MarkAsUsed ( string url, int version ) : bool

Bumps the timestamp of a cached file to be the current time.

ResetNoBackupFlag ( string url, Hash128 hash ) : void
ResetNoBackupFlag ( string url, int version ) : void
SetNoBackupFlag ( string url, Hash128 hash ) : void
SetNoBackupFlag ( string url, int version ) : void

Private Methods

Method Description
Authorize ( string name, string domain, int size, int expiration, string signature ) : bool
Authorize ( string name, string domain, int size, string signature ) : bool
Authorize ( string name, string domain, long size, int expiration, string signature ) : bool
CleanCache ( ) : bool
CleanNamedCache ( string name ) : bool
DeleteFromCache ( string url ) : bool
GetVersionFromCache ( string url ) : int
INTERNAL_CALL_IsVersionCached ( string url, Hash128 &hash ) : bool
INTERNAL_CALL_MarkAsUsed ( string url, Hash128 &hash ) : bool
INTERNAL_CALL_ResetNoBackupFlag ( string url, Hash128 &hash ) : void
INTERNAL_CALL_SetNoBackupFlag ( string url, Hash128 &hash ) : void

Method Details

Authorize() public static method

This is a WebPlayer-only function.

public static Authorize ( string name, string domain, long size, string signature ) : bool
name string
domain string
size long
signature string
return bool

IsVersionCached() public static method

public static IsVersionCached ( string url, Hash128 hash ) : bool
url string
hash Hash128
return bool

IsVersionCached() public static method

Checks if an AssetBundle is cached.

public static IsVersionCached ( string url, int version ) : bool
url string
version int
return bool

MarkAsUsed() public static method

public static MarkAsUsed ( string url, Hash128 hash ) : bool
url string
hash Hash128
return bool

MarkAsUsed() public static method

Bumps the timestamp of a cached file to be the current time.

public static MarkAsUsed ( string url, int version ) : bool
url string
version int
return bool

ResetNoBackupFlag() public static method

public static ResetNoBackupFlag ( string url, Hash128 hash ) : void
url string
hash Hash128
return void

ResetNoBackupFlag() public static method

public static ResetNoBackupFlag ( string url, int version ) : void
url string
version int
return void

SetNoBackupFlag() public static method

public static SetNoBackupFlag ( string url, Hash128 hash ) : void
url string
hash Hash128
return void

SetNoBackupFlag() public static method

public static SetNoBackupFlag ( string url, int version ) : void
url string
version int
return void