Method RemoveItemsByCategory
RemoveItemsByCategory(string)
This will remove all InventoryItems that have the given Category by CategoryDefinition Id.
Declaration
public static void RemoveItemsByCategory(string categoryId)
Parameters
Type | Name | Description |
---|---|---|
string | categoryId | The Id of the CategoryDefinition we are checking for. |
RemoveItemsByCategory(CategoryDefinition)
This will remove all InventoryItems that have the given Category.
Declaration
public static void RemoveItemsByCategory(CategoryDefinition category)
Parameters
Type | Name | Description |
---|---|---|
CategoryDefinition | category | The CategoryDefinition to remove. |
RemoveItemsByCategory(int)
This will remove all InventoryItems that have the given Category by CategoryDefinition Hash.
Declaration
public static void RemoveItemsByCategory(int categoryHash)
Parameters
Type | Name | Description |
---|---|---|
int | categoryHash | The Hash of the CategoryDefinition to remove. |