Constructor DefaultItem
DefaultItem(int, int)
Basic constructor that takes in fields for all variables this class uses.
Declaration
public DefaultItem(int definitionHash, int quantity)
Parameters
| Type | Name | Description |
|---|---|---|
| int | definitionHash | The GameItemDefinition Hash to use. |
| int | quantity | The starting quantity of this Item. |