static public int constructor(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.Caching o; o = new UnityEngine.Caching(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int constructor(IntPtr l) { UnityEngine.Caching o; o = new UnityEngine.Caching(); pushObject(l, o); return(1); }
static public int constructor(IntPtr l) { try { UnityEngine.Caching o; o = new UnityEngine.Caching(); pushValue(l, o); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.Caching o; o=new UnityEngine.Caching(); pushValue(l,true); pushValue(l,o); return 2; } catch(Exception e) { return error(l,e); } }
static public int constructor(IntPtr l) { try { UnityEngine.Caching o; o = new UnityEngine.Caching(); pushValue(l, o); return(1); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
public static int constructor(IntPtr l) { try { UnityEngine.Caching o; o=new UnityEngine.Caching(); pushValue(l,o); return 1; } catch(Exception e) { LuaDLL.luaL_error(l, e.ToString()); return 0; } }
static public int constructor(IntPtr l) { LuaDLL.lua_remove(l, 1); UnityEngine.Caching o; if (matchType(l, 1)) { o = new UnityEngine.Caching(); pushObject(l, o); return(1); } LuaDLL.luaL_error(l, "New object failed."); return(0); }
public static bool MarkAsUsed(string url, Hash128 hash) { return(Caching.INTERNAL_CALL_MarkAsUsed(url, ref hash)); }
public static bool IsVersionCached(string url, Hash128 hash) { return(Caching.INTERNAL_CALL_IsVersionCached(url, ref hash)); }
public static bool MarkAsUsed(string url, int version) { Hash128 hash = new Hash128(0u, 0u, 0u, (uint)version); return(Caching.MarkAsUsed(url, hash)); }
public static bool Authorize(string name, string domain, int size, int expiration, string signature) { return(Caching.Authorize(name, domain, (long)size, expiration, signature)); }
public static bool IsVersionCached(string url, int version) { Hash128 hash = new Hash128(0u, 0u, 0u, (uint)version); return(Caching.IsVersionCached(url, hash)); }
internal static bool MarkAsUsed(string url, string name, Hash128 hash) { return(Caching.INTERNAL_CALL_MarkAsUsed(url, name, ref hash)); }
public static void MoveCacheAfter(Cache src, Cache dst) { Caching.INTERNAL_CALL_MoveCacheAfter(ref src, ref dst); }
public static void ResetNoBackupFlag(string url, Hash128 hash) { Caching.INTERNAL_CALL_ResetNoBackupFlag(url, ref hash); }
internal static void SetNoBackupFlag(string url, string name, Hash128 hash, bool enabled) { Caching.INTERNAL_CALL_SetNoBackupFlag(url, name, ref hash, enabled); }
internal static bool MarkAsUsed(string url, string assetBundleName, Hash128 hash) { return(Caching.MarkAsUsed_Injected(url, assetBundleName, ref hash)); }
internal static void SetNoBackupFlag(string url, string assetBundleName, Hash128 hash, bool enabled) { Caching.SetNoBackupFlag_Injected(url, assetBundleName, ref hash, enabled); }
internal static bool IsVersionCached(string url, string assetBundleName, Hash128 hash) { return(Caching.IsVersionCached_Injected(url, assetBundleName, ref hash)); }
internal static bool ClearCachedVersions(string assetBundleName, Hash128 hash, bool keepInputVersion) { return(Caching.ClearCachedVersions_Injected(assetBundleName, ref hash, keepInputVersion)); }
internal static bool ClearCachedVersionInternal(string assetBundleName, Hash128 hash) { return(Caching.ClearCachedVersionInternal_Injected(assetBundleName, ref hash)); }
public static bool ClearCache(int expiration) { return(Caching.ClearCache_Int(expiration)); }
public static bool RemoveCache(Cache cache) { return(Caching.INTERNAL_CALL_RemoveCache(ref cache)); }
public static bool Authorize(string name, string domain, long size, string signature) { return(Caching.Authorize(name, domain, size, -1, signature)); }
internal static bool IsVersionCached(string url, string name, Hash128 hash) { return(Caching.INTERNAL_CALL_IsVersionCached(url, name, ref hash)); }
public static void MoveCacheAfter(Cache src, Cache dst) { Caching.MoveCacheAfter_Injected(ref src, ref dst); }
public static bool CleanCache() { return(Caching.ClearCache()); }
public static bool RemoveCache(Cache cache) { return(Caching.RemoveCache_Injected(ref cache)); }
public static void MoveCacheBefore(Cache src, Cache dst) { Caching.INTERNAL_CALL_MoveCacheBefore(ref src, ref dst); }
public static void MoveCacheBefore(Cache src, Cache dst) { Caching.MoveCacheBefore_Injected(ref src, ref dst); }
public static bool ClearOtherCachedVersions(string assetBundleName, Hash128 hash) { return(Caching.INTERNAL_CALL_ClearOtherCachedVersions(assetBundleName, ref hash)); }