Перейти к основному содержимому

Type Alias: InventoryLeaseOptions

InventoryLeaseOptions = object

Options for a temporary inventory replacement lease.

Properties

clear?

optional clear?: boolean

Clear unspecified slots before applying the temporary loadout.


includeEquipment?

optional includeEquipment?: boolean

Capture equipment slots in addition to the main inventory.


includeSelectedSlot?

optional includeSelectedSlot?: boolean

Capture the player's selected hotbar slot.


unloadPolicy?

optional unloadPolicy?: InventoryLeaseUnloadPolicy | null

Restore automatically on unload, or retain the lease for later recovery.