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

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

      An array of Name / Group of items to load

    • InventoryData: any

    Returns InventoryBundle[]