static int QPYX_SendWebRequest_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         UnityEngine.Networking.UnityWebRequest QPYX_obj_YXQP             = (UnityEngine.Networking.UnityWebRequest)ToLua.CheckObject <UnityEngine.Networking.UnityWebRequest>(L_YXQP, 1);
         UnityEngine.Networking.UnityWebRequestAsyncOperation QPYX_o_YXQP = QPYX_obj_YXQP.SendWebRequest();
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int SendWebRequest(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         UnityEngine.Networking.UnityWebRequest obj             = (UnityEngine.Networking.UnityWebRequest)ToLua.CheckObject <UnityEngine.Networking.UnityWebRequest>(L, 1);
         UnityEngine.Networking.UnityWebRequestAsyncOperation o = obj.SendWebRequest();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Esempio n. 3
0
    static int get_webRequest(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.Networking.UnityWebRequestAsyncOperation obj = (UnityEngine.Networking.UnityWebRequestAsyncOperation)o;
            UnityEngine.Networking.UnityWebRequest ret = obj.webRequest;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index webRequest on a nil value"));
        }
    }
 static int QPYX__CreateUnityEngine_Networking_UnityWebRequestAsyncOperation_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 0)
         {
             UnityEngine.Networking.UnityWebRequestAsyncOperation QPYX_obj_YXQP = new UnityEngine.Networking.UnityWebRequestAsyncOperation();
             ToLua.PushObject(L_YXQP, QPYX_obj_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to ctor method: UnityEngine.Networking.UnityWebRequestAsyncOperation.New"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Esempio n. 5
0
    static int _CreateUnityEngine_Networking_UnityWebRequestAsyncOperation(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                UnityEngine.Networking.UnityWebRequestAsyncOperation obj = new UnityEngine.Networking.UnityWebRequestAsyncOperation();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.Networking.UnityWebRequestAsyncOperation.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int QPYX_get_webRequest_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        UnityEngine.Networking.UnityWebRequestAsyncOperation QPYX_obj_YXQP = (UnityEngine.Networking.UnityWebRequestAsyncOperation)QPYX_o_YXQP;
            UnityEngine.Networking.UnityWebRequest QPYX_ret_YXQP = QPYX_obj_YXQP.webRequest;
            ToLua.PushObject(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index webRequest on a nil value"));
        }
    }