Class CocaineDefinition
Defines the characteristics and behaviors of a cocaine product within the system.
public class CocaineDefinition : ProductDefinition
- Inheritance
-
CocaineDefinition
- Inherited Members
- Extension Methods
Methods
CreateInstance(int)
Creates an instance of this product definition with the specified quantity.
public override ItemInstance CreateInstance(int quantity = 1)
Parameters
quantityintThe quantity of the product to instantiate. Defaults to 1 if not specified.
Returns
- ItemInstance
An ItemInstance representing the instantiated product with the specified quantity.
GetProperties()
Retrieves a list of properties associated with this product definition.
public List<PropertyBase> GetProperties()
Returns
- List<PropertyBase>
A list of runtime-agnostic property wrappers that work on both Mono and IL2CPP.