HandleArrowKey() public method

public HandleArrowKey ( int dir ) : void
dir int
return void
Exemplo n.º 1
0
 static public int HandleArrowKey(IntPtr l)
 {
     try {
         FairyGUI.GList self = (FairyGUI.GList)checkSelf(l);
         System.Int32   a1;
         checkType(l, 2, out a1);
         self.HandleArrowKey(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int HandleArrowKey(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GList obj  = (FairyGUI.GList)ToLua.CheckObject(L, 1, typeof(FairyGUI.GList));
         int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         obj.HandleArrowKey(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Exemplo n.º 3
0
 static int HandleArrowKey(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GList obj  = (FairyGUI.GList)ToLua.CheckObject <FairyGUI.GList>(L, 1);
         int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         int            o    = obj.HandleArrowKey(arg0);
         LuaDLL.lua_pushinteger(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }