InventTable::itemTypeByProductType Method
Converts a product type to an item type.
Syntax
client server public static ItemType itemTypeByProductType(EcoResProductType _productType)
Run On
Called
Parameters
- _productType
Type: EcoResProductType Enumeration
An EcoResProductType enumeration value.
Return Value
Type: ItemType Enumeration
An ItemType enumeration value.
Exceptions
Exception | Condition |
---|---|
Error | An EcoResProductType enumeration value cannot be converted. |