Skip to main content

LimitWeightPlugin.StackRemoved

Declaration#

public virtual void StackRemoved(GDTKItem item)

Parameters#

NameDescription
itemItem removed

Description#

Stack removed from Inventory

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(Inventory target)    {        foreach(InventoryPluginWrapper wrapper in target.plugins)        {            wrapper.plugin.StackRemoved(InventoryDatabase.instance.items[0]);        }    }}