// Token: 0x06002362 RID: 9058 RVA: 0x0009AB3C File Offset: 0x00098D3C
        public void UpdateDisplay()
        {
            this.updateRequestPending = false;
            if (!this || !base.isActiveAndEnabled)
            {
                return;
            }
            ItemIndex[] array = ItemCatalog.RequestItemOrderBuffer();
            int         num   = 0;

            for (int i = 0; i < this.itemOrderCount; i++)
            {
                if (ItemInventoryDisplay.ItemIsVisible(this.itemOrder[i]))
                {
                    array[num++] = this.itemOrder[i];
                }
            }
            this.AllocateIcons(num);
            for (int j = 0; j < num; j++)
            {
                ItemIndex itemIndex = array[j];
                this.itemIcons[j].SetItemIndex(itemIndex, this.itemStacks[(int)itemIndex]);
            }
            ItemCatalog.ReturnItemOrderBuffer(array);
        }