GetItems(String,Object,Object) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetItems() method retrieves multiple items and their properties from the database. The method includes the item class ID and flags that indicate produced or consumed items as filter parameters.
Parameters
- itemClassId
- Optional. Holds an item class ID by which to filter the items being retrieved. Pass a null to not apply this filter option.
- produced
Optional. Set to true or false to filter the results according to the state of the item's item class Produced flag. Pass a null to not apply this filter option.
- consumed
Optional. Set to true or false to filter the results according to the state of the item's item class Consumed flag. Pass a null to not apply this filter option.
Return Value
Returns a DataSet that contains all item rows that satisfy the specified
filter(s).