static int CopyTo(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection obj = (System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection));
         MyPlayerController[] arg0 = ToLua.CheckObjectArray <MyPlayerController>(L, 2);
         int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.CopyTo(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 2
0
 static int CopyTo(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         System.Collections.Generic.Dictionary <int, TestAccount> .KeyCollection obj = (System.Collections.Generic.Dictionary <int, TestAccount> .KeyCollection)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <int, TestAccount> .KeyCollection));
         int[] arg0 = ToLua.CheckNumberArray <int>(L, 2);
         int   arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.CopyTo(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 3
0
 static int CopyTo(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         System.Collections.Generic.Dictionary <int, TestAccount> .ValueCollection obj = ToLua.CheckObject <System.Collections.Generic.Dictionary <int, TestAccount> .ValueCollection>(L, 1);
         TestAccount[] arg0 = ToLua.CheckObjectArray <TestAccount>(L, 2);
         int           arg1 = (int)LuaDLL.luaL_checkinteger(L, 3);
         obj.CopyTo(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }