AutoSharp.Auto.SummonersRift.SRShopAI.Main.ItemSequence C# (CSharp) Method

ItemSequence() public static method

public static ItemSequence ( HowlingAbyss item, Queue shopListQueue ) : void
item HowlingAbyss
shopListQueue Queue
return void
        public static void ItemSequence(HowlingAbyss.ARAMShopAI.Item item, Queue<HowlingAbyss.ARAMShopAI.Item> shopListQueue)
        {
            if (item.From == null)
                shopListQueue.Enqueue(item);
            else
            {
                foreach (int itemDescendant in item.From)
                    ItemSequence(GetItemById(itemDescendant), shopListQueue);
                shopListQueue.Enqueue(item);
            }
        }