Esempio n. 1
0
 static int StartHTTPPOST(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         LuaFramework.WWWManager obj = (LuaFramework.WWWManager)ToLua.CheckObject <LuaFramework.WWWManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         UnityEngine.WWWForm            arg1 = (UnityEngine.WWWForm)ToLua.CheckObject <UnityEngine.WWWForm>(L, 3);
         LuaFunction                    arg2 = ToLua.CheckLuaFunction(L, 4);
         System.Collections.IEnumerator o    = obj.StartHTTPPOST(arg0, arg1, arg2);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }