CSharpTradeOffers.Trading.Inventory.AssetCount C# (CSharp) Méthode

AssetCount() public méthode

Returns the number of assets in the inventory.
public AssetCount ( ) : ulong
Résultat ulong
        public ulong AssetCount()
        {
            ulong count = 0;
            foreach (Item value in from value in Items.Values from rgInventoryItem in value.Items select value)
                count++;
            return count;
        }