Evgenij Tsvetkov
Member
Let me know if I use this collection. The weapon does not see ammo in the inventory. Does not see in the collection that is in the ItemCollectionNames list. How to be?
.
GetItemIdentifierAmount return 0
C#:
/// <summary>
/// Returns the amount of the specified ItemIdentifier.
/// </summary>
/// <param name="itemIdentifier">The ItemIdentifier to get the amount of.</param>
/// <returns>The amount of the specified ItemIdentifier.</returns>
public int GetItemIdentifierAmount(IItemIdentifier itemIdentifier) { if (itemIdentifier == null) { return 0; } return GetItemIdentifierAmountInternal(itemIdentifier); }
GetItemIdentifierAmount return 0