Beispiel #1
0
 static int GetEnumerator(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.Collections.Generic.Dictionary <int, TestAccount>             obj = (System.Collections.Generic.Dictionary <int, TestAccount>)ToLua.CheckObject(L, 1, TypeTraits <System.Collections.Generic.Dictionary <int, TestAccount> > .type);
         System.Collections.Generic.Dictionary <int, TestAccount> .Enumerator o   = obj.GetEnumerator();
         ToLua.PushValue(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetEnumerator(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.Collections.Generic.Dictionary <string, SingleData>             obj = (System.Collections.Generic.Dictionary <string, SingleData>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <string, SingleData>));
         System.Collections.Generic.Dictionary <string, SingleData> .Enumerator o   = obj.GetEnumerator();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetEnumerator(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         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));
         System.Collections.Generic.Dictionary <int, MyPlayerController> .ValueCollection.Enumerator o   = obj.GetEnumerator();
         ToLua.PushValue(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetEnumerator(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity>             obj = (System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity>));
         System.Collections.Generic.Dictionary <uint, Logic.Character.EnemyEntity> .Enumerator o   = obj.GetEnumerator();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetEnumerator(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable>             obj = (System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable>));
         System.Collections.Generic.Dictionary <UnityEngine.GameObject, LuaInterface.LuaTable> .Enumerator o   = obj.GetEnumerator();
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Beispiel #6
0
 public ShimEnumerator(Dictionary <TKey, TValue> host)
 {
     host_enumerator = host.GetEnumerator();
 }
Beispiel #7
0
 internal Enumerator(Dictionary <TKey, TValue> host)
 {
     host_enumerator = host.GetEnumerator();
 }
Beispiel #8
0
 public Dictionary <T1, T2> .Enumerator GetEnumerator()
 {
     return(_forward.GetEnumerator());
 }