static int SelectData(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)ToLua.CheckObject <littlerbird.UI.QuickGrid>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); object[] arg1 = ToLua.ToParamsObject(L, 3, count - 2); obj.SelectData(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }