Table of Contents

Class WeedDefinition

Namespace
S1API.Products
Assembly
S1API.dll

Represents a specific type of weed product definition.

public class WeedDefinition : ProductDefinition
Inheritance
WeedDefinition
Inherited Members
Extension Methods

Methods

CreateInstance(int)

Creates an instance of the product with the specified quantity.

public override ItemInstance CreateInstance(int quantity = 1)

Parameters

quantity int

The quantity of the product to create. Defaults to 1 if not specified.

Returns

ItemInstance

An ItemInstance representing the created product instance with the specified quantity.

GetProperties()

Retrieves a list of properties associated with this weed definition.

public List<PropertyBase> GetProperties()

Returns

List<PropertyBase>

A list of runtime-agnostic property wrappers that work on both Mono and IL2CPP.