static int ShowItemPanel(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2 && TypeChecker.CheckTypes <int>(L, 2))
            {
                littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)ToLua.CheckObject <littlerbird.UI.QuickGrid>(L, 1);
                int arg0 = (int)LuaDLL.lua_tonumber(L, 2);
                obj.ShowItemPanel(arg0);
                return(0);
            }
            else if (count == 2 && TypeChecker.CheckTypes <object>(L, 2))
            {
                littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)ToLua.CheckObject <littlerbird.UI.QuickGrid>(L, 1);
                object arg0 = ToLua.ToVarObject(L, 2);
                obj.ShowItemPanel(arg0);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: littlerbird.UI.QuickGrid.ShowItemPanel"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }