예제 #1
0
 static public int ReloadManifest(IntPtr l)
 {
     try {
         LBoot.BundleDependencies self = (LBoot.BundleDependencies)checkSelf(l);
         self.ReloadManifest();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #2
0
 static public int get_manifestBundle(IntPtr l)
 {
     try {
         LBoot.BundleDependencies self = (LBoot.BundleDependencies)checkSelf(l);
         pushValue(l, self.manifestBundle);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #3
0
 static public int RemapVariantName(IntPtr l)
 {
     try {
         LBoot.BundleDependencies self = (LBoot.BundleDependencies)checkSelf(l);
         System.String            a1;
         checkType(l, 2, out a1);
         var ret = self.RemapVariantName(a1);
         pushValue(l, ret);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #4
0
 static public int constructor(IntPtr l)
 {
     try {
         LBoot.BundleDependencies o;
         System.String            a1;
         checkType(l, 2, out a1);
         o = new LBoot.BundleDependencies(a1);
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #5
0
        static BundleManager()
        {
            dictAssetBundleRefs          = new Dictionary <string, AssetBundleRef>();
            dictAssetBundleLoadHistories = new Dictionary <string, AssetBundleLoadHistory>();
            loadingBundles      = new List <string>();
            listAssetBundleUris = new List <string>();
            curUnloadIndex      = 0;
            ttlSettings         = new Dictionary <string, int>();
            ttlPatternSettings  = new Dictionary <string, int>();
            noTTLSettings       = new Dictionary <string, bool>();

            var manifestFile = "bundles.bin";

            bundleDeps = new BundleDependencies(manifestFile);
        }
예제 #6
0
 static public int LoadAllDependencies(IntPtr l)
 {
     try {
         LBoot.BundleDependencies self = (LBoot.BundleDependencies)checkSelf(l);
         System.String            a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         self.LoadAllDependencies(a1, a2);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }