Universe.Framework.Services.ClassHelpers.Inventory.InventoryFolderImpl.RequestListOfItems C# (CSharp) Method

RequestListOfItems() public method

Return a copy of the list of child items in this folder. The items themselves are the originals.
public RequestListOfItems ( ) : List
return List
        public List<InventoryItemBase> RequestListOfItems ()
        {
            List<InventoryItemBase> itemList = new List<InventoryItemBase> ();

            lock (Items) {
                itemList.AddRange (Items.Values);
            }

            //MainConsole.Instance.DebugFormat("[INVENTORY FOLDER IMPL]: Found {0} items", itemList.Count);

            return itemList;
        }