static int _g_get_Length(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Length);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    var gen_ret = new AssetBundles.Manifest();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to AssetBundles.Manifest constructor!"));
        }
        static int _m_SaveToDiskCahce(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.SaveToDiskCahce(  );



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_GetAllAssetBundlesWithVariant(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    var gen_ret = gen_to_be_invoked.GetAllAssetBundlesWithVariant(  );
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_LoadFromAssetbundle(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.AssetBundle _assetbundle = (UnityEngine.AssetBundle)translator.GetObject(L, 2, typeof(UnityEngine.AssetBundle));

                    gen_to_be_invoked.LoadFromAssetbundle(_assetbundle);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_CompareTo(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    AssetBundles.Manifest _otherManifest = (AssetBundles.Manifest)translator.GetObject(L, 2, typeof(AssetBundles.Manifest));

                    var gen_ret = gen_to_be_invoked.CompareTo(_otherManifest);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_GetDirectDependencies(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    string _assetbundleName = LuaAPI.lua_tostring(L, 2);

                    var gen_ret = gen_to_be_invoked.GetDirectDependencies(_assetbundleName);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
Esempio n. 8
0
        static int _m_GetAssetBundleHash(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                AssetBundles.Manifest gen_to_be_invoked = (AssetBundles.Manifest)translator.FastGetCSObj(L, 1);



                {
                    string _name = LuaAPI.lua_tostring(L, 2);

                    UnityEngine.Hash128 gen_ret = gen_to_be_invoked.GetAssetBundleHash(_name);
                    translator.Push(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }