tray container||doc135323

September 20, 2022

EntityTrays

Introduction

Tray container, the container that holds the Tray instance. Not availableEntityTraysGet it directly, you need a specific entity object to usetray()Gets the tray container for this object.


Function

int add_tray (  tray tray)

Add a tray instance and return the tray Id

tray fetch_tray (  int tid  )

Returns the tray instance based on the tray Id

table query_trays (  function filter  )

Returns a list of knapsack instances based on the filter function

item find_item (  string item_name  )

Returns the item instance based on the item name