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

Interface: InventoryLeaseRegistry

Registry of unfinished inventory leases owned by the current Script.

Methods

getForPlayer()

getForPlayer(playerId): InventoryLease | null

Returns the unfinished lease for a player, if one exists.

Parameters

playerId

string

Returns

InventoryLease | null


list()

list(): readonly InventoryLease[]

Returns all unfinished leases owned by the current Script.

Returns

readonly InventoryLease[]