Table of Contents

Class MethDefinition

Namespace
S1API.Products
Assembly
S1API.dll

Represents the definition of a meth product within the ScheduleOne product framework.

public class MethDefinition : ProductDefinition
Inheritance
MethDefinition
Inherited Members
Extension Methods

Methods

CreateInstance(int)

Creates an instance of this meth product with the specified quantity.

public override ItemInstance CreateInstance(int quantity = 1)

Parameters

quantity int

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

Returns

ItemInstance

An instance of ItemInstance representing the created meth product.

GetProperties()

Retrieves the list of properties associated with the meth product definition.

public List<PropertyBase> GetProperties()

Returns

List<PropertyBase>

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