Method ContainsItem
ContainsItem(string)
Returns whether or not an InventoryItem exists within the Wallet.
Declaration
public static bool ContainsItem(string itemDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
string | itemDefinitionId | The Id of the InventoryItemDefinition to find. |
Returns
Type | Description |
---|---|
bool | True/False whether or not the InventoryItem is within the Wallet. |
ContainsItem(InventoryItemDefinition)
Returns whether or not an InventoryItem exists within the Wallet for specified InventoryItemDefinition.
Declaration
public static bool ContainsItem(InventoryItemDefinition itemDefinition)
Parameters
Type | Name | Description |
---|---|---|
InventoryItemDefinition | itemDefinition | The InventoryItemDefinition to find. |
Returns
Type | Description |
---|---|
bool | True/False whether or not the InventoryItem is within the Wallet. |
ContainsItem(int)
Returns whether or not an InventoryItem exists within the Wallet.
Declaration
public static bool ContainsItem(int itemDefinitionHash)
Parameters
Type | Name | Description |
---|---|---|
int | itemDefinitionHash | The Hash of the InventoryItemDefinition we are checking for. |
Returns
Type | Description |
---|---|
bool | True/False whether or not the InventoryItem is within the Wallet. |