Skip to main content

Merchant.RegisterHolsterClient

Declaration#

public virtual void RegisterHolsterClient(string id, HolsterSlotClient client)

Parameters#

NameDescription
idId to associate
clientClient to register

Description#

Register an HolsterClient for this inventory

Usage#

Example
using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
    public void ExampleMethod(Merchant target, HolsterSlotClient other, string holsterId)    {        target.RegisterHolsterClient(holsterId, other);    }
}