static int FireClick(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { FairyGUI.GButton obj = (FairyGUI.GButton)ToLua.CheckObject <FairyGUI.GButton>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.FireClick(arg0); return(0); } else if (count == 3) { FairyGUI.GButton obj = (FairyGUI.GButton)ToLua.CheckObject <FairyGUI.GButton>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.FireClick(arg0, arg1); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: FairyGUI.GButton.FireClick")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int FireClick(IntPtr l) { try { FairyGUI.GButton self=(FairyGUI.GButton)checkSelf(l); System.Boolean a1; checkType(l,2,out a1); self.FireClick(a1); pushValue(l,true); return 1; } catch(Exception e) { return error(l,e); } }
static int FireClick(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GButton obj = (FairyGUI.GButton)ToLua.CheckObject(L, 1, typeof(FairyGUI.GButton)); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.FireClick(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }