ItemContainer.Initialize
Declaration#
public void Initialize(Inventory host, List<GDTKItemCategory> useCategories, bool ignoreLimits, List<InventoryPluginWrapper> overrideWrappers)Parameters#
| Name | Description |
|---|---|
| host | Inventory hosting the object |
| useCategories | List of allowed categories (overrides other settings) |
| ignoreLimits | Ignore limits from categories, plugins, etc |
| overrideWrappers | List of plugin wrappers to override existing values |
Description#
Initialize the object
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(ItemContainer target, Inventory other) { target.Initialize(other, null, false, null); }
}