Skip to main content

Merchant.RegisterEquipClient

Declaration#

public virtual void RegisterEquipClient(string id, EquipSlotClient client)

Parameters#

NameDescription
idId to associate
clientClient to register

Description#

Register an EquipClient for this inventory

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(Merchant target, EquipSlotClient other)    {        target.RegisterEquipClient(other.slotId, other);    }
}