OSRS Plugin API
    Preparing search index...

    Type Alias OnInvTransmitCallback

    OnInvTransmitCallback: (inv_table: any) => void

    The callback for Events.ON_INV_TRANSMIT events

    Type Declaration

      • (inv_table: any): void
      • Parameters

        • inv_table: any

          An array of tables storing data of every updated inventory.

          • ["id"] - number: the id of the updated inventory.
            • Backpack: 93
            • Equipped: 94
          • ["items"] - table: an array of tables containing the data for each updated item in the inventory.
            • ["id"] - number: the id of the item.
            • ["slot"] - number: the slot in the inventory that this item is in.
            • ["count"] - count: the size of the item's stack.

        Returns void