Inheritance: Object
 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
 }
Esempio n. 2
0
 static public int constructor(IntPtr l)
 {
     UnityEngine.Caching o;
     o = new UnityEngine.Caching();
     pushObject(l, o);
     return(1);
 }
Esempio n. 3
0
 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);
		}
	}
Esempio n. 5
0
 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;
     }
 }
Esempio n. 7
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);
 }
Esempio n. 8
0
 public static bool MarkAsUsed(string url, Hash128 hash)
 {
     return(Caching.INTERNAL_CALL_MarkAsUsed(url, ref hash));
 }
Esempio n. 9
0
 public static bool IsVersionCached(string url, Hash128 hash)
 {
     return(Caching.INTERNAL_CALL_IsVersionCached(url, ref hash));
 }
Esempio n. 10
0
        public static bool MarkAsUsed(string url, int version)
        {
            Hash128 hash = new Hash128(0u, 0u, 0u, (uint)version);

            return(Caching.MarkAsUsed(url, hash));
        }
Esempio n. 11
0
 public static bool Authorize(string name, string domain, int size, int expiration, string signature)
 {
     return(Caching.Authorize(name, domain, (long)size, expiration, signature));
 }
Esempio n. 12
0
        public static bool IsVersionCached(string url, int version)
        {
            Hash128 hash = new Hash128(0u, 0u, 0u, (uint)version);

            return(Caching.IsVersionCached(url, hash));
        }
Esempio n. 13
0
 internal static bool MarkAsUsed(string url, string name, Hash128 hash)
 {
     return(Caching.INTERNAL_CALL_MarkAsUsed(url, name, ref hash));
 }
Esempio n. 14
0
 public static void MoveCacheAfter(Cache src, Cache dst)
 {
     Caching.INTERNAL_CALL_MoveCacheAfter(ref src, ref dst);
 }
Esempio n. 15
0
 public static void ResetNoBackupFlag(string url, Hash128 hash)
 {
     Caching.INTERNAL_CALL_ResetNoBackupFlag(url, ref hash);
 }
Esempio n. 16
0
 internal static void SetNoBackupFlag(string url, string name, Hash128 hash, bool enabled)
 {
     Caching.INTERNAL_CALL_SetNoBackupFlag(url, name, ref hash, enabled);
 }
Esempio n. 17
0
 internal static bool MarkAsUsed(string url, string assetBundleName, Hash128 hash)
 {
     return(Caching.MarkAsUsed_Injected(url, assetBundleName, ref hash));
 }
Esempio n. 18
0
 internal static void SetNoBackupFlag(string url, string assetBundleName, Hash128 hash, bool enabled)
 {
     Caching.SetNoBackupFlag_Injected(url, assetBundleName, ref hash, enabled);
 }
Esempio n. 19
0
 internal static bool IsVersionCached(string url, string assetBundleName, Hash128 hash)
 {
     return(Caching.IsVersionCached_Injected(url, assetBundleName, ref hash));
 }
Esempio n. 20
0
 internal static bool ClearCachedVersions(string assetBundleName, Hash128 hash, bool keepInputVersion)
 {
     return(Caching.ClearCachedVersions_Injected(assetBundleName, ref hash, keepInputVersion));
 }
Esempio n. 21
0
 internal static bool ClearCachedVersionInternal(string assetBundleName, Hash128 hash)
 {
     return(Caching.ClearCachedVersionInternal_Injected(assetBundleName, ref hash));
 }
Esempio n. 22
0
 public static bool ClearCache(int expiration)
 {
     return(Caching.ClearCache_Int(expiration));
 }
Esempio n. 23
0
 public static bool RemoveCache(Cache cache)
 {
     return(Caching.INTERNAL_CALL_RemoveCache(ref cache));
 }
Esempio n. 24
0
 public static bool Authorize(string name, string domain, long size, string signature)
 {
     return(Caching.Authorize(name, domain, size, -1, signature));
 }
Esempio n. 25
0
 internal static bool IsVersionCached(string url, string name, Hash128 hash)
 {
     return(Caching.INTERNAL_CALL_IsVersionCached(url, name, ref hash));
 }
Esempio n. 26
0
 public static void MoveCacheAfter(Cache src, Cache dst)
 {
     Caching.MoveCacheAfter_Injected(ref src, ref dst);
 }
Esempio n. 27
0
 public static bool CleanCache()
 {
     return(Caching.ClearCache());
 }
Esempio n. 28
0
 public static bool RemoveCache(Cache cache)
 {
     return(Caching.RemoveCache_Injected(ref cache));
 }
Esempio n. 29
0
 public static void MoveCacheBefore(Cache src, Cache dst)
 {
     Caching.INTERNAL_CALL_MoveCacheBefore(ref src, ref dst);
 }
Esempio n. 30
0
 public static void MoveCacheBefore(Cache src, Cache dst)
 {
     Caching.MoveCacheBefore_Injected(ref src, ref dst);
 }
Esempio n. 31
0
 public static bool ClearOtherCachedVersions(string assetBundleName, Hash128 hash)
 {
     return(Caching.INTERNAL_CALL_ClearOtherCachedVersions(assetBundleName, ref hash));
 }