Skip to main content

InventoryLoad

Callable


  • Loads the current inventory for a character, can be loaded from an object of Name/Group or a compressed array using LZString


    Parameters

    • C: Character

      The character on which we should load the inventory

    • Inventory: string | readonly ServerItemBundle[] | Partial<Record<AssetGroupName, readonly string[]>>

      An array of Name / Group of items to load

    Returns void