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

                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.webRequest = (DCETRuntime.UnityWebRequestAsync)translator.GetObject(L, 2, typeof(DCETRuntime.UnityWebRequestAsync));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _s_set_downloadingBundle(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.downloadingBundle = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _s_set_downloadedBundles(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.downloadedBundles = (System.Collections.Generic.HashSet <string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.HashSet <string>));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _g_get_webRequest(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.webRequest);
            } 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)
                {
                    DCETRuntime.BundleDownloader gen_ret = new DCETRuntime.BundleDownloader();
                    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 DCETRuntime.BundleDownloader constructor!"));
        }
        static int _m_Dispose(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.Dispose(  );



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


                DCETRuntime.BundleDownloader gen_to_be_invoked = (DCETRuntime.BundleDownloader)translator.FastGetCSObj(L, 1);



                {
                    System.Threading.Tasks.Task <bool> gen_ret = gen_to_be_invoked.DownloadAsync(  );
                    translator.Push(L, gen_ret);



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