static int MoveNext(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.Collections.Generic.Dictionary <int, TestAccount> .ValueCollection.Enumerator obj = ToLua.CheckObject <System.Collections.Generic.Dictionary <int, TestAccount> .ValueCollection.Enumerator>(L, 1);
         bool o = obj.MoveNext();
         LuaDLL.lua_pushboolean(L, o);
         ToLua.SetBack(L, 1, obj);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Beispiel #2
0
 public bool MoveNext()
 {
     return(host_enumerator.MoveNext());
 }