Class

RezSlot

RezSlot()

Constructor

# new RezSlot()

Represents an inventory slot in the Rez game engine. Slots define compartments within inventories where items can be stored. Each slot has properties like capacity, item type restrictions, and accessor names for template binding.

View Source rez_slot.js, line 5

Extends

Methods

# static constructor(id, attributes)

Creates a new inventory slot instance

Parameters:
Name Type Description
id string

unique identifier for this slot

attributes object

slot attributes from Rez compilation including capacity and restrictions

View Source rez_slot.js, line 14