Method GetItemDefinition
GetItemDefinition(int)
Gets the requested item definition based on the given hash.
Declaration
protected override BaseItemDefinition<InventoryDefinition, Inventory, InventoryItemDefinition, InventoryItem> GetItemDefinition(int itemDefinitionHash)
Parameters
Type | Name | Description |
---|---|---|
int | itemDefinitionHash | The hash of the item definition we want. |
Returns
Type | Description |
---|---|
BaseItemDefinition<InventoryDefinition, Inventory, InventoryItemDefinition, InventoryItem> | Reference to the definition, or null if not available. |