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


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



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

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



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

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

                DCETRuntime.UnityWebRequestAsync gen_to_be_invoked = (DCETRuntime.UnityWebRequestAsync)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.tcs = (System.Threading.Tasks.TaskCompletionSource <string>)translator.GetObject(L, 2, typeof(System.Threading.Tasks.TaskCompletionSource <string>));
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
        static int _s_set_Request(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

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

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


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



                {
                    gen_to_be_invoked.Update(  );



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