Represents a package in the Create logistics system.

Constructors

Methods

  • Gets the package's address

    Returns string

  • Gets detailed information about an item in the package

    Parameters

    • slot: number

    Returns undefined | ItemDetail

  • Gets the OrderDataObject if this is an encoded package

    Returns undefined | OrderDataObject

  • Checks if the package is currently editable (inside a packager/repackager)

    Returns boolean

  • Lists all items in the package

    Returns SlotDetail[]

  • Sets the package's address (only works if editable)

    Parameters

    • address: string

    Returns void