Merchant.RegisterHolsterClient
Declaration#
public virtual void RegisterHolsterClient(string id, HolsterSlotClient client)Parameters#
| Name | Description |
|---|---|
| id | Id to associate |
| client | Client 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); }
}